diff options
author | Ulrich Kunitz <kune@deine-taler.de> | 2006-12-03 16:32:00 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-12-05 19:31:33 -0500 |
commit | 2b50c24554d31c2db2f93b1151b5991e62f96594 (patch) | |
tree | 82e45711b6da33aa390981e2336c1d13a1b72241 /net/ieee80211/softmac/ieee80211softmac_auth.c | |
parent | e6e3f12ad713fb878baa8e8b5456874a7ac714d3 (diff) | |
download | op-kernel-dev-2b50c24554d31c2db2f93b1151b5991e62f96594.zip op-kernel-dev-2b50c24554d31c2db2f93b1151b5991e62f96594.tar.gz |
[PATCH] softmac: Fixed handling of deassociation from AP
In 2.6.19 a deauthentication from the AP doesn't start a
reassociation by the softmac code. It appears that
mac->associnfo.associating must be set and the
ieee80211softmac_assoc_work function must be scheduled. This patch
fixes that.
Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_auth.c')
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_auth.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_auth.c b/net/ieee80211/softmac/ieee80211softmac_auth.c index 0612015..ec44900 100644 --- a/net/ieee80211/softmac/ieee80211softmac_auth.c +++ b/net/ieee80211/softmac/ieee80211softmac_auth.c @@ -334,6 +334,8 @@ ieee80211softmac_deauth_from_net(struct ieee80211softmac_device *mac, /* can't transmit data right now... */ netif_carrier_off(mac->dev); spin_unlock_irqrestore(&mac->lock, flags); + + ieee80211softmac_try_reassoc(mac); } /* |