]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: inform userspace of probe/auth/assoc timeout
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 16 Oct 2008 19:44:44 +0000 (21:44 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 31 Oct 2008 23:00:38 +0000 (19:00 -0400)
commit562b64cced3d1fd815de3815a91fa8556e76c331
tree5dfae59ca41140dbf97a443f70e22967bc929243
parent07afc21f88e2443693b4d9502ed58bff5f47fadf
mac80211: inform userspace of probe/auth/assoc timeout

I noticed that when for some reason [1] the probe or auth times
out, wpa_supplicant doesn't realise this and only tries the next
AP when it runs into its own timeout, which is ten seconds, and
that's quite long. Fix this by making mac80211 notify userspace
that it didn't associate.

[1] my wrt350n in mixed B/G/HT mode often runs into this, maybe
it's because one of the antennas is broken off and for whatever
reason it decides to use that antenna to transmit the response
frames (auth, probe); I do see beacons fine so it's not totally
broken. Works fine in pure-G mode.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c