d80211: inhibit duplicate authentication requests when setting bssid
Subsystems (2)
If we are already authenticating don't send another authentication request.
Signed-off-by David Kimdon <[email protected]>
net/d80211/ieee80211_sta.c +1 -1
@@ -2392,7 +2392,7 @@ int ieee80211_sta_set_bssid(struct net_d ifsta->bssid_set =0 ; else ifsta->bssid_set = 1; -if (ifsta->ssid_set) +if (ifsta->ssid_set && ifsta->state !=IEEE80211_AUTHENTICATE )ieee80211_sta_new_auth (dev, ifsta);return 0 ;
--