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 <j@w1.fi>
This commit is contained in:
Jouni Malinen 2021-03-20 12:17:58 +02:00
parent bcfcb247db
commit 6bbbd9729f

View file

@ -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"); wpa_printf(MSG_DEBUG, "DPP: Wait for Connection Status Result");
eloop_cancel_timeout(hostapd_dpp_config_result_wait_timeout, eloop_cancel_timeout(hostapd_dpp_config_result_wait_timeout,
hapd, NULL); hapd, NULL);
auth->waiting_conn_status_result = 1;
eloop_cancel_timeout( eloop_cancel_timeout(
hostapd_dpp_conn_status_result_wait_timeout, hostapd_dpp_conn_status_result_wait_timeout,
hapd, NULL); hapd, NULL);