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

Signed-off-by: David Kimdon <[EMAIL PROTECTED]>

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

--
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to