]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/sme.c
Do not start another connect work while one is pending
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 24 Feb 2014 13:22:35 +0000 (15:22 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 24 Feb 2014 13:22:35 +0000 (15:22 +0200)
commitf0e30c841050d35c72cf2ac3cab02af03aca9e17
treed512ddfe59ee0a3e244e7659621857ba4f684ab9
parent47c549fd8eb6f0cb393c2d92e035c49059f4c4ad
Do not start another connect work while one is pending

It was possible for the connect or sme-connect radio work to get
re-scheduled while an earlier request was still pending, e.g.,
select_network is issued at the moment a scan radio work is in progress
and the old scan results are recent enough for starting the connection.
This could result in unexpected attempt to re-associate immediately
after completing the first connection.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/sme.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h