summaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-11-01 15:16:55 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-11-09 16:01:00 -0500
commit55de47f65f661a229a982293a43739e57ec935a5 (patch)
treeab9f0c343a43ebbd318b12f4f6ec3243a9a3288e /net/mac80211/util.c
parent6e6ae9ddf0bc19ce066ed2f66f7a52b827e4514e (diff)
mac80211: set BSS_CHANGED_IDLE on vif reconfig
The vif might be busy while reconfiguring (e.g. associated), so indicate BSS_CHANGED_IDLE as well. Reported-by: Eyal Shapira <eyal@wizery.com> Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r--net/mac80211/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index 72b3a2ec0d2..83c482177ec 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -1057,7 +1057,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: