提交 6c751ef8 编写于 作者: J Javier Lopez 提交者: Johannes Berg

mac80211: fix for mesh beacon update on powersave

Mesh beacon was not being rebuild after user triggered a mesh
powersave change.

To solve this issue use ieee80211_mbss_info_change_notify instead
of ieee80211_bss_info_change_notify. This helper function forces
mesh beacon to be rebuild and then notifies the driver about the
beacon change.
Signed-off-by: NJavier Lopez <jlopex@cozybit.com>
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
上级 57fb089f
...@@ -1368,7 +1368,7 @@ static int sta_apply_parameters(struct ieee80211_local *local, ...@@ -1368,7 +1368,7 @@ static int sta_apply_parameters(struct ieee80211_local *local,
changed |= changed |=
ieee80211_mps_set_sta_local_pm(sta, ieee80211_mps_set_sta_local_pm(sta,
params->local_pm); params->local_pm);
ieee80211_bss_info_change_notify(sdata, changed); ieee80211_mbss_info_change_notify(sdata, changed);
#endif #endif
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册