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>
This commit is contained in:
Jouni Malinen 2017-12-02 00:38:12 +02:00 committed by Jouni Malinen
parent 702384f77e
commit ed2c493e9e

View file

@ -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);