WPS: Split eapol_cb reconnect to a separate code path
authorJouni Malinen <j@w1.fi>
Sun, 13 Apr 2014 08:47:03 +0000 (11:47 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 13 Apr 2014 08:47:03 +0000 (11:47 +0300)
commit150fd0b2b535160a254610bb63948ea9fec87fb4
treec21d043850570df16a611b6c3b81cfc200c68d20
parent8c7559ee8f663f8ac749f4b310d4068328ca6cc1
WPS: Split eapol_cb reconnect to a separate code path

Use eloop timeout to run the reconnect command after eapol_cb has
returned. This reduces stack use and can simplify the driver
command/event sequence by allowing the disconnection events from the
provisioning step to be processed before starting the actual data
connection.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wps_supplicant.c