Skip to contentSkip to conversation

mac80211: fix for mesh beacon update on powersave

PATCH Applied Javier Lopez 2 participants 2 messages Nov 6, 2013 – Nov 12, 2013 mac80211

lore
Share & tools
lore
#0 lore raw

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.

---
 net/mac80211/cfg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/mac80211/cfg.c +1 -1
index 95667b0..ad2889f 100644
@@ -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
maintainer Applied
#1 lore raw
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_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.

Applied.

johannes