]> git.ipfire.org Git - thirdparty/hostap.git/commit
Delay scan request on select_network if disconnecting
authorJouni Malinen <j@w1.fi>
Sat, 4 Feb 2012 10:28:16 +0000 (12:28 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 4 Feb 2012 10:28:16 +0000 (12:28 +0200)
commitd93dfbd588eb3c16f4ed1b7af825c9c1c9bf7f6d
tree99c914a222d467182edf25802e6ce7faeafb81bc
parentc7bce24dc9695ac6b0281b32b92b64dac6967e17
Delay scan request on select_network if disconnecting

The disconnection command results in disassociation and deauthentication
events which were previously processed during the scan in case of
select_network command being used while associated with another network.
While this works in most cases, it can result in confusing event
messages in ctrl_iface and debug log. Avoid this by using a short delay
between the disconnection and scan request to allow the disconnection
events to be processed prior to starting the new scan.

Signed-hostap: Jouni Malinen <j@w1.fi>
intended-for: hostap-1
wpa_supplicant/wpa_supplicant.c