Browse Source

DPP: Change Authentication Response retry time to 1 second

The previously used 10 second timer did not really make much sense since
the Initiator is not going to be waiting for the response that long.
Change this to 1 second based on the DPP tech spec change.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Jouni Malinen 7 years ago
parent
commit
ed2c493e9e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wpa_supplicant/dpp_supplicant.c

+ 1 - 1
wpa_supplicant/dpp_supplicant.c

@@ -352,7 +352,7 @@ static void wpas_dpp_auth_resp_retry(struct wpa_supplicant *wpa_s)
 	if (wpa_s->dpp_resp_retry_time)
 	if (wpa_s->dpp_resp_retry_time)
 		wait_time = wpa_s->dpp_resp_retry_time;
 		wait_time = wpa_s->dpp_resp_retry_time;
 	else
 	else
-		wait_time = 10000;
+		wait_time = 1000;
 	wpa_printf(MSG_DEBUG,
 	wpa_printf(MSG_DEBUG,
 		   "DPP: Schedule retransmission of Authentication Response frame in %u ms",
 		   "DPP: Schedule retransmission of Authentication Response frame in %u ms",
 		wait_time);
 		wait_time);