netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* d80211: inhibit duplicate authentication requests when setting bssid
@ 2006-12-21 22:33 David Kimdon
  0 siblings, 0 replies; only message in thread
From: David Kimdon @ 2006-12-21 22:33 UTC (permalink / raw)
  To: netdev; +Cc: John W. Linville, Jiri Benc, David Kimdon

[-- Attachment #1: auth.patch --]
[-- Type: text/plain, Size: 610 bytes --]

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

Signed-off-by: David Kimdon <david.kimdon@devicescape.com>

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;

--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-21 22:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-21 22:33 d80211: inhibit duplicate authentication requests when setting bssid David Kimdon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).