Start autoscan for first connection attempt
authorJouni Malinen <j@w1.fi>
Tue, 26 Jun 2012 16:52:46 +0000 (19:52 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 26 Jun 2012 16:52:46 +0000 (19:52 +0300)
commit992189991ca99e89208a1bad4cb4305e115dd66f
tree3f80d58ceb305bfdb6cbfdc34c2697bf92c895bc
parent460b36d0c0c30c42ed5337378959a88e9a108213
Start autoscan for first connection attempt

Use wpa_supplicant_set_state() to initialize state to DISCONNECT so that
autoscan gets initialized properly. This needs a change in
autoscan_init() to avoid extra scan request that would postpone the
first scan request when an interface is added.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/autoscan.c
wpa_supplicant/autoscan.h
wpa_supplicant/ctrl_iface.c
wpa_supplicant/dbus/dbus_new_handlers.c
wpa_supplicant/wpa_supplicant.c