P2P: Clean up group formation on network block removal
authorJouni Malinen <j@w1.fi>
Sat, 10 Dec 2011 10:56:42 +0000 (12:56 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 10 Dec 2011 10:56:42 +0000 (12:56 +0200)
commit502618f7c14499d38074cfcb9a2336fae73a1da6
tree063e82591ef739150bfa887221f0c5c1007203b6
parent10cc6c883e1ecf4b6f4c6fc9430ff09ab227bafc
P2P: Clean up group formation on network block removal

If a P2P group network block is removed for any reason (e.g., wps_cancel
command) while the interface is in group formation, remove the group
formation timeout and indicate failure immediately. Previously, this
type of operations could end up leaving the timeout running and result
in somewhat unexpected group formation failure events later.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/notify.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/p2p_supplicant.h