Skip to content

Commit

Permalink
mac80211: set BSS_CHANGED_IDLE on vif reconfig
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eliad Peller authored and John W. Linville committed Nov 9, 2011
1 parent 6e6ae9d commit 55de47f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/mac80211/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 55de47f

Please sign in to comment.