]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix dpp_auth_req_retries* check for DPP capability
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 23 Nov 2017 18:11:38 +0000 (20:11 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 23 Nov 2017 18:12:34 +0000 (20:12 +0200)
Need to do this before trying to set the DPP test parameters.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_dpp.py

index 27ab42acc1d0a02e1aeebf3ef4f981dfba6654ab..c06307e049c18e1b0462913f4941f1d1e8613f9e 100644 (file)
@@ -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")