summaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJavier Lopez <jlopex@cozybit.com>2013-11-06 10:04:29 -0800
committerJohannes Berg <johannes.berg@intel.com>2013-11-25 16:50:09 +0100
commit6c751ef8a1a15d633cd755eafa86ede9c32b2617 (patch)
tree6e71e971d0a8bb7bfb975bda4b8d9a01586d1edd /net/mac80211/cfg.c
parent57fb089f480d199e4275da086d407b978de67214 (diff)
downloadblackbird-op-linux-6c751ef8a1a15d633cd755eafa86ede9c32b2617.tar.gz
blackbird-op-linux-6c751ef8a1a15d633cd755eafa86ede9c32b2617.zip
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 <jlopex@cozybit.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 0ec245120a63..9e7e68d7b1a7 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -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
}
OpenPOWER on IntegriCloud