mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-30 16:54:04 -05:00
tests: Increase wait timeout in autogo_m2d
The time before trying to associate with an AP that does not advertise Selected Registrar TRUE is going to be incremented, so increase the autogo_m2d timeout to avoid reporting incorrect errors due to missing M2D events. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
bd143cc540
commit
cfbdb9958f
@ -173,7 +173,7 @@ def test_autogo_m2d(dev):
|
|||||||
if "OK" not in dev[2].global_request(cmd):
|
if "OK" not in dev[2].global_request(cmd):
|
||||||
raise Exception("P2P_CONNECT join failed")
|
raise Exception("P2P_CONNECT join failed")
|
||||||
|
|
||||||
ev = dev[1].wait_global_event(["WPS-M2D"], timeout=10)
|
ev = dev[1].wait_global_event(["WPS-M2D"], timeout=16)
|
||||||
if ev is None:
|
if ev is None:
|
||||||
raise Exception("No global M2D event")
|
raise Exception("No global M2D event")
|
||||||
ifaces = dev[1].request("INTERFACES").splitlines()
|
ifaces = dev[1].request("INTERFACES").splitlines()
|
||||||
|
Loading…
Reference in New Issue
Block a user