WPS: Make sure reconfiguration timeout is not left behind on deinit
authorJouni Malinen <j@w1.fi>
Sat, 28 Dec 2013 17:18:47 +0000 (19:18 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Dec 2013 08:00:32 +0000 (10:00 +0200)
commit0e22b8dd4cb0876e6db013cd26779492783e5332
treeb5661c4f02dd5ff8c7ad7929b20fc8ecacfd0f21
parent38ae43de6bdb9824cbd6080250e35c26f8c0e2f5
WPS: Make sure reconfiguration timeout is not left behind on deinit

Even though this is a short timeout, it is at least theoretically
possible for the interface to be removed while waiting for
reconfiguration to start. Avoid issues with this by cancelling the
timeout on any WPS interface deinit. In theory, this should be postponed
until interface removal, but that does not fit very nicely to the
current wps_hostapd.c style.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/ap/wps_hostapd.c