From 6bbbd9729f996d70ae6800a6f6b1cfc433e1b71c Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 20 Mar 2021 12:17:58 +0200 Subject: [PATCH] DPP2: Fix connection status result wait in hostapd The waiting_conn_status_result flag was not set which made hostapd discard the Connection Status Result. Fix this to match the wpa_supplicant implementation. Signed-off-by: Jouni Malinen --- src/ap/dpp_hostapd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ap/dpp_hostapd.c b/src/ap/dpp_hostapd.c index e1e5a3ac4..fcdbb4c98 100644 --- a/src/ap/dpp_hostapd.c +++ b/src/ap/dpp_hostapd.c @@ -1189,6 +1189,7 @@ static void hostapd_dpp_rx_conf_result(struct hostapd_data *hapd, const u8 *src, wpa_printf(MSG_DEBUG, "DPP: Wait for Connection Status Result"); eloop_cancel_timeout(hostapd_dpp_config_result_wait_timeout, hapd, NULL); + auth->waiting_conn_status_result = 1; eloop_cancel_timeout( hostapd_dpp_conn_status_result_wait_timeout, hapd, NULL);