aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-19 21:47:54 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-19 21:47:54 (GMT)
commit1a1bf008cb25f327a69fcb06451771c227574d2e (patch)
treecb7928218549e39e8d0fc3f8edb4585a3dd91e68 /wpa_supplicant/wps_supplicant.h
parente46338fc7678388ea7e2408ae7dd8dfbf57024a3 (diff)
downloadhostap-1a1bf008cb25f327a69fcb06451771c227574d2e.zip
hostap-1a1bf008cb25f327a69fcb06451771c227574d2e.tar.gz
hostap-1a1bf008cb25f327a69fcb06451771c227574d2e.tar.bz2
WPS ER: Delay wpa_supplicant termination to allow unsubscription
Instead of forcefully deinitializing ER immediately, give it some time to complete unsubscription and call eloop_terminate() only once ER code has completed its work.
Diffstat (limited to 'wpa_supplicant/wps_supplicant.h')
-rw-r--r--wpa_supplicant/wps_supplicant.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/wps_supplicant.h b/wpa_supplicant/wps_supplicant.h
index d51ff61..e94b8ee 100644
--- a/wpa_supplicant/wps_supplicant.h
+++ b/wpa_supplicant/wps_supplicant.h
@@ -56,6 +56,7 @@ int wpas_wps_er_add_pin(struct wpa_supplicant *wpa_s, const char *uuid,
int wpas_wps_er_pbc(struct wpa_supplicant *wpa_s, const char *uuid);
int wpas_wps_er_learn(struct wpa_supplicant *wpa_s, const char *uuid,
const char *pin);
+int wpas_wps_terminate_pending(struct wpa_supplicant *wpa_s);
#else /* CONFIG_WPS */