mac80211: fix for mesh beacon update on powersave
PATCH 1/1 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 Javier Lopez <[email protected]>
--- net/mac80211/cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/mac80211/cfg.c +1 -1
@@ -1368,7 +1368,7 @@ static int sta_apply_parameters(struct ieee80211_local *local, changed |=ieee80211_mps_set_sta_local_pm (sta, params->local_pm); -ieee80211_bss_info_change_notify (sdata, changed); +ieee80211_mbss_info_change_notify (sdata, changed);#endif }
Signature · 1 line
1.7.9.5
Quoted 7 lines · Javier Lopez
Mesh beacon was not being rebuild after user triggered a mesh powersave change.
To solve this issue use
ieee80211_mbss_info_change_notifyinstead ofieee80211_bss_info_change_notify. This helper function forces mesh beacon to be rebuild and then notifies the driver about the beacon change.
Applied.
johannes