From: David Kimdon <[EMAIL PROTECTED]>

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

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

---

 net/d80211/ieee80211_sta.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

ca363cfd2c934d40dd0c24a52e58921d355b3c01
diff --git a/net/d80211/ieee80211_sta.c b/net/d80211/ieee80211_sta.c
index 77a8308..32c2bbe 100644
--- a/net/d80211/ieee80211_sta.c
+++ b/net/d80211/ieee80211_sta.c
@@ -2354,7 +2354,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;
-- 
1.3.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