From: Eliad Peller Date: Tue, 1 Nov 2011 13:16:55 +0000 (+0200) Subject: mac80211: set BSS_CHANGED_IDLE on vif reconfig X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=55de47f65f661a229a982293a43739e57ec935a5;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Eliad Peller Signed-off-by: John W. Linville --- 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: