]> git.ipfire.org Git - thirdparty/hostap.git/commit
Reset normal_scans counter upon entering INTERFACE_DISABLED state
authorArend van Spriel <arend@broadcom.com>
Wed, 15 Jan 2014 09:11:32 +0000 (10:11 +0100)
committerJouni Malinen <j@w1.fi>
Fri, 17 Jan 2014 09:48:17 +0000 (11:48 +0200)
commit5ddd07cb37811718e21f9ab2611d3dcdc554f4b9
tree6516471e346302ea53ce98178a567cf8a76a75d4
parent94a2dd0b252719999f3831aded2f6085c020ae96
Reset normal_scans counter upon entering INTERFACE_DISABLED state

Depending on the implementation, the scheduled scan may not give results
quickly when in DISCONNECTED state. This patch resets
wpa_s::normal_scans upon entering to the INTERFACE_DISABLED state so a
normal scan is assured upon going to DISCONNECTED state after the
interface has been re-enabled. This mainly solves a long reconnect time
observed upon repeated kernel driver reloads, i.e., third reload
resulted in a scheduled scan.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-hostap: Arend van Spriel <arend@broadcom.com>
wpa_supplicant/wpa_supplicant.c