[PATCH] SoftMAC: Prevent multiple authentication attempts on the same network
commitcb74c432e321ed645b6cd88b77edc15f9478efbd
authorJoseph Jezak <josejx@gentoo.org>
Sun, 11 Jun 2006 16:00:37 +0000 (11 12:00 -0400)
committerJeff Garzik <jeff@garzik.org>
Wed, 5 Jul 2006 17:42:58 +0000 (5 13:42 -0400)
tree3170ef16223986c9743315cd05972abc2d9b84b5
parent4359219425a0918a72775480e125fbb077de338d
[PATCH] SoftMAC: Prevent multiple authentication attempts on the same network

This patch addresses the "No queue exists" messages commonly seen during
authentication and associating.  These appear due to scheduling multiple
authentication attempts on the same network.  To prevent this, I added a
flag to stop multiple authentication attempts by the association layer.
I also added a check to the wx handler to see if we're connecting to a
different network than the one already in progress.  This scenario was
causing multiple requests on the same network because the network BSSID
was not being updated despite the fact that the ESSID changed.

Signed-off-by: Joseph Jezak <josejx@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/ieee80211softmac.h
net/ieee80211/softmac/ieee80211softmac_assoc.c
net/ieee80211/softmac/ieee80211softmac_auth.c
net/ieee80211/softmac/ieee80211softmac_wx.c