]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
DPP: Change Authentication Response retry time to 1 second
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 1 Dec 2017 22:38:12 +0000 (00:38 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 2 Dec 2017 10:00:44 +0000 (12:00 +0200)
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>
wpa_supplicant/dpp_supplicant.c

index 42c1028646bb1e8b2a5feacebf78195a8ce2ef23..6e947ed7748e7f11e1e99a07210fd00414262e7a 100644 (file)
@@ -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);