diff options
author | Eliad Peller <eliad@wizery.com> | 2011-11-01 09:16:55 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-09 16:01:00 -0500 |
commit | 55de47f65f661a229a982293a43739e57ec935a5 (patch) | |
tree | ab9f0c343a43ebbd318b12f4f6ec3243a9a3288e /net | |
parent | 6e6ae9ddf0bc19ce066ed2f66f7a52b827e4514e (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')
-rw-r--r-- | 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 72b3a2ec0d24..83c482177ecb 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -1057,7 +1057,8 @@ int ieee80211_reconfig(struct ieee80211_local *local) | |||
1057 | BSS_CHANGED_BEACON_INT | | 1057 | BSS_CHANGED_BEACON_INT | |
1058 | BSS_CHANGED_BSSID | | 1058 | BSS_CHANGED_BSSID | |
1059 | BSS_CHANGED_CQM | | 1059 | BSS_CHANGED_CQM | |
1060 | BSS_CHANGED_QOS; | 1060 | BSS_CHANGED_QOS | |
1061 | BSS_CHANGED_IDLE; | ||
1061 | 1062 | ||
1062 | switch (sdata->vif.type) { | 1063 | switch (sdata->vif.type) { |
1063 | case NL80211_IFTYPE_STATION: | 1064 | case NL80211_IFTYPE_STATION: |