raise Exception("PTK rekey timed out")
if "WPA: Key negotiation completed" in ev:
raise Exception("No disconnect, PTK rekey succeeded")
- ev = dev[0].wait_event(["WPA: Key negotiation completed"], timeout=1)
+ ev = dev[0].wait_event(["WPA: Key negotiation completed"], timeout=1.1)
if ev is None:
raise Exception("Reconnect too slow")
raise Exception("PTK rekey timed out")
if "WPA: Key negotiation completed" in ev:
raise Exception("No disconnect, PTK rekey succeeded")
- ev = dev[0].wait_event(["WPA: Key negotiation completed"], timeout=1)
+ ev = dev[0].wait_event(["WPA: Key negotiation completed"], timeout=1.1)
if ev is None:
raise Exception("Reconnect too slow")