[PATCH] softmac: don't reassociate if user asked for deauthentication
authorDaniel Drake <dsd@gentoo.org>
Sun, 30 Apr 2006 18:49:30 +0000 (19:49 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 May 2006 20:55:22 +0000 (16:55 -0400)
commit995c99268e0b12eb3c8939211ba5368dd92d98d9
tree671c386a7442363c0f897160ef325ae5e9b9576d
parentd98550e334715b2d9e45f8f0f4e1608720108640
[PATCH] softmac: don't reassociate if user asked for deauthentication

When wpa_supplicant exits, it uses SIOCSIWMLME to request
deauthentication.  softmac then tries to reassociate without any user
intervention, which isn't the desired behaviour of this signal.

This change makes softmac only attempt reassociation if the remote
network itself deauthenticated us.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/softmac/ieee80211softmac_auth.c