aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-01-10 20:13:48 (GMT)
committerJouni Malinen <jouni@codeaurora.org>2018-01-11 22:50:45 (GMT)
commit6333cb812bfceb7ef9a518637c099fa86a0b82b8 (patch)
treea5b4aa4cef88650cbf8da20d61a0927992db3825
parent7e526fa735a73482c913c941af75842455ae0b9b (diff)
downloadhostap-6333cb812bfceb7ef9a518637c099fa86a0b82b8.zip
hostap-6333cb812bfceb7ef9a518637c099fa86a0b82b8.tar.gz
hostap-6333cb812bfceb7ef9a518637c099fa86a0b82b8.tar.bz2
tests: Use longer timeout in sigma_dut_dpp_proto_initiator
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>
-rw-r--r--tests/hwsim/test_sigma_dut.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/hwsim/test_sigma_dut.py b/tests/hwsim/test_sigma_dut.py
index 37305d0..9ef949f 100644
--- a/tests/hwsim/test_sigma_dut.py
+++ b/tests/hwsim/test_sigma_dut.py
@@ -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: