aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-12-10 10:56:42 (GMT)
committerJouni Malinen <j@w1.fi>2011-12-10 10:56:42 (GMT)
commit502618f7c14499d38074cfcb9a2336fae73a1da6 (patch)
tree063e82591ef739150bfa887221f0c5c1007203b6 /wpa_supplicant/p2p_supplicant.h
parent10cc6c883e1ecf4b6f4c6fc9430ff09ab227bafc (diff)
downloadhostap-502618f7c14499d38074cfcb9a2336fae73a1da6.zip
hostap-502618f7c14499d38074cfcb9a2336fae73a1da6.tar.gz
hostap-502618f7c14499d38074cfcb9a2336fae73a1da6.tar.bz2
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>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r--wpa_supplicant/p2p_supplicant.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index 6afc4bb..91400a6 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -129,5 +129,7 @@ int wpas_p2p_disconnect(struct wpa_supplicant *wpa_s);
void wpas_p2p_wps_failed(struct wpa_supplicant *wpa_s,
struct wps_event_fail *fail);
int wpas_p2p_in_progress(struct wpa_supplicant *wpa_s);
+void wpas_p2p_network_removed(struct wpa_supplicant *wpa_s,
+ struct wpa_ssid *ssid);
#endif /* P2P_SUPPLICANT_H */