From: Jouni Malinen Date: Thu, 23 Nov 2017 18:11:38 +0000 (+0200) Subject: tests: Fix dpp_auth_req_retries* check for DPP capability X-Git-Tag: hostap_2_7~794 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92fe5f567cb9611f4698f56c630f1d693f61c027;p=thirdparty%2Fhostap.git tests: Fix dpp_auth_req_retries* check for DPP capability Need to do this before trying to set the DPP test parameters. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_dpp.py b/tests/hwsim/test_dpp.py index 27ab42acc..c06307e04 100644 --- a/tests/hwsim/test_dpp.py +++ b/tests/hwsim/test_dpp.py @@ -2539,6 +2539,7 @@ def test_dpp_auth_req_stop_after_ack(dev, apdev): def test_dpp_auth_req_retries(dev, apdev): """DPP initiator retries with no ACK""" + check_dpp_capab(dev[1]) dev[1].set("dpp_init_max_tries", "3") dev[1].set("dpp_init_retry_time", "1000") dev[1].set("dpp_resp_wait_time", "100") @@ -2558,6 +2559,7 @@ def test_dpp_auth_req_retries(dev, apdev): def test_dpp_auth_req_retries_multi_chan(dev, apdev): """DPP initiator retries with no ACK and multiple channels""" + check_dpp_capab(dev[1]) dev[1].set("dpp_init_max_tries", "3") dev[1].set("dpp_init_retry_time", "1000") dev[1].set("dpp_resp_wait_time", "100")