From: Jouni Malinen Date: Fri, 26 Jun 2020 17:50:23 +0000 (+0300) Subject: DPP2: Make sure dpp_auth gets cleared with external config processing X-Git-Tag: hostap_2_10~1089 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8632dea4ae3575f838d8119a02b29b90947164d3;p=thirdparty%2Fhostap.git DPP2: Make sure dpp_auth gets cleared with external config processing wpa_s->dpp_auth did not get cleaner if dpp_config_processing=1 is used. Clear this after having received TX status for Configuration Result to avoid leaving behind the completed provisioning instance. Signed-off-by: Jouni Malinen --- diff --git a/wpa_supplicant/dpp_supplicant.c b/wpa_supplicant/dpp_supplicant.c index 8fd0d063b..edbe46f27 100644 --- a/wpa_supplicant/dpp_supplicant.c +++ b/wpa_supplicant/dpp_supplicant.c @@ -1625,6 +1625,8 @@ fail: wpabuf_free(msg); /* This exchange will be terminated in the TX status handler */ + if (wpa_s->conf->dpp_config_processing < 2) + auth->remove_on_tx_status = 1; return; } fail2: