aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-11-29 22:11:22 (GMT)
committerJouni Malinen <j@w1.fi>2017-11-29 22:11:22 (GMT)
commitfa5c907495143bf19229f87b63e9da2686d007b8 (patch)
tree304ba913fb13aab5869d97c3e45a814178c63ef1 /wpa_supplicant
parent818e3c94b7e8304c7ae593f3f10b107dba9150c9 (diff)
downloadhostap-fa5c907495143bf19229f87b63e9da2686d007b8.zip
hostap-fa5c907495143bf19229f87b63e9da2686d007b8.tar.gz
hostap-fa5c907495143bf19229f87b63e9da2686d007b8.tar.bz2
DPP: Call wpas_dpp_stop() from wpas_dpp_deinit()
This makes the full DPP deinit operation more consistent with stopping of a single operation. In practice, this adds the new GAS client stopping functionality. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/dpp_supplicant.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/wpa_supplicant/dpp_supplicant.c b/wpa_supplicant/dpp_supplicant.c
index 11ac450..a6b1a58 100644
--- a/wpa_supplicant/dpp_supplicant.c
+++ b/wpa_supplicant/dpp_supplicant.c
@@ -2500,10 +2500,8 @@ void wpas_dpp_deinit(struct wpa_supplicant *wpa_s)
wpas_dpp_listen_stop(wpa_s);
dpp_bootstrap_del(wpa_s, 0);
dpp_configurator_del(wpa_s, 0);
- dpp_auth_deinit(wpa_s->dpp_auth);
- wpa_s->dpp_auth = NULL;
+ wpas_dpp_stop(wpa_s);
wpas_dpp_pkex_remove(wpa_s, "*");
- wpa_s->dpp_pkex = NULL;
os_memset(wpa_s->dpp_intro_bssid, 0, ETH_ALEN);
os_free(wpa_s->dpp_configurator_params);
wpa_s->dpp_configurator_params = NULL;