diff options
author | Daniel Drake <dsd@gentoo.org> | 2006-06-01 16:37:22 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-06-05 21:51:30 +0200 |
commit | 6ae15df16ef3dc3f5f043e94bb2cd4aa6c7f2aa8 (patch) | |
tree | 4aaf3f6dd60df4dd712679e8594796dfd8322194 /net/ieee80211/softmac/ieee80211softmac_io.c | |
parent | [PATCH] softmac: complete shared key authentication (diff) | |
download | linux-6ae15df16ef3dc3f5f043e94bb2cd4aa6c7f2aa8.tar.xz linux-6ae15df16ef3dc3f5f043e94bb2cd4aa6c7f2aa8.zip |
[PATCH] softmac: Fix handling of authentication failure
My router blew up earlier, but exhibited some interesting behaviour during
its dying moments. It was broadcasting beacons but wouldn't respond to
any authentication requests.
I noticed that softmac wasn't playing nice with this, as I couldn't make it try
to connect to other networks after it had timed out authenticating to my ill
router.
To resolve this, I modified the softmac event/notify API to pass the event
code to the callback, so that callbacks being notified from
IEEE80211SOFTMAC_EVENT_ANY masks can make some judgement. In this case, the
ieee80211softmac_assoc callback needs to make a decision based upon whether
the association passed or failed.
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_io.c')
0 files changed, 0 insertions, 0 deletions