Skip to contentSkip to conversation

d80211: inhibit duplicate authentication requests when setting bssid

PATCH David Kimdon 1 participant 1 message Dec 21, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

If we are already authenticating don't send another authentication request.

net/d80211/ieee80211_sta.c +1 -1
Index: wireless-dev/net/d80211/ieee80211_sta.c
===================================================================
@@ -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;

--