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 <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2020-06-26 20:50:23 +03:00 committed by Jouni Malinen
parent a7ae422961
commit 8632dea4ae

View file

@ -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: