diff options
author | Javier Lopez <jlopex@cozybit.com> | 2013-11-06 10:04:29 -0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-11-25 16:50:09 +0100 |
commit | 6c751ef8a1a15d633cd755eafa86ede9c32b2617 (patch) | |
tree | 6e71e971d0a8bb7bfb975bda4b8d9a01586d1edd /net/mac80211 | |
parent | 57fb089f480d199e4275da086d407b978de67214 (diff) | |
download | op-kernel-dev-6c751ef8a1a15d633cd755eafa86ede9c32b2617.zip op-kernel-dev-6c751ef8a1a15d633cd755eafa86ede9c32b2617.tar.gz |
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')
-rw-r--r-- | net/mac80211/cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 0ec2451..9e7e68d 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 } |