[PATCH] mac80211: set BSS_CHANGED_IDLE on vif reconfig

DORMANTno replies

From: Eliad Peller <hidden>
Date: 2011-11-01 13:16:54
Subsystem: mac80211, the rest · Maintainers: Johannes Berg, Linus Torvalds

The vif might be busy while reconfiguring
(e.g. associated), so indicate BSS_CHANGED_IDLE as well.

Reported-by: Eyal Shapira <redacted>
Signed-off-by: Eliad Peller <redacted>
---
 net/mac80211/util.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index 7439d26..5427dcc 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -1072,7 +1072,8 @@ int ieee80211_reconfig(struct ieee80211_local *local)
 			  BSS_CHANGED_BEACON_INT |
 			  BSS_CHANGED_BSSID |
 			  BSS_CHANGED_CQM |
-			  BSS_CHANGED_QOS;
+			  BSS_CHANGED_QOS |
+			  BSS_CHANGED_IDLE;
 
 		switch (sdata->vif.type) {
 		case NL80211_IFTYPE_STATION:
-- 
1.7.6.401.g6a319
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help