Parcourir la 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 il y a 7 ans
Parent
commit
ed2c493e9e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)
 		wait_time = wpa_s->dpp_resp_retry_time;
 	else
-		wait_time = 10000;
+		wait_time = 1000;
 	wpa_printf(MSG_DEBUG,
 		   "DPP: Schedule retransmission of Authentication Response frame in %u ms",
 		wait_time);