]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Use longer timeout in sigma_dut_dpp_proto_initiator
authorJouni Malinen <jouni@codeaurora.org>
Wed, 10 Jan 2018 20:13:48 +0000 (22:13 +0200)
committerJouni Malinen <jouni@codeaurora.org>
Thu, 11 Jan 2018 22:50:45 +0000 (00:50 +0200)
This is needed to be ready for a sigma_dut change to wait for an extra
frame RX event.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_sigma_dut.py

index 37305d0287d81c91b3e4b2b173e977da44961332..9ef949f1850778542d6f23a061da661af8c3be5a 100644 (file)
@@ -1607,7 +1607,8 @@ def run_sigma_dut_dpp_proto_initiator(dev, step, frame, attr, result, fail):
     if "status,COMPLETE" not in res:
         raise Exception("dev_exec_action did not succeed: " + res)
 
-    res = sigma_dut_cmd("dev_exec_action,program,DPP,DPPActionType,AutomaticDPP,DPPAuthRole,Initiator,DPPAuthDirection,Single,DPPProvisioningRole,Configurator,DPPConfIndex,1,DPPSigningKeyECC,P-256,DPPConfEnrolleeRole,STA,DPPBS,QR,DPPTimeout,6,DPPStep,%s,DPPFrameType,%s,DPPIEAttribute,%s" % (step, frame, attr))
+    res = sigma_dut_cmd("dev_exec_action,program,DPP,DPPActionType,AutomaticDPP,DPPAuthRole,Initiator,DPPAuthDirection,Single,DPPProvisioningRole,Configurator,DPPConfIndex,1,DPPSigningKeyECC,P-256,DPPConfEnrolleeRole,STA,DPPBS,QR,DPPTimeout,6,DPPStep,%s,DPPFrameType,%s,DPPIEAttribute,%s" % (step, frame, attr),
+                        timeout=10)
     if result not in res:
         raise Exception("Unexpected result: " + res)
     if fail: