mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 02:44:03 -05:00
tests: Automatic reconnection on re-enabling temporarily disabled network
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
9bd566a33a
commit
a539d3f71f
@ -1873,3 +1873,10 @@ def test_ap_wpa2_psk_incorrect_passphrase(dev, apdev):
|
||||
ev = hapd.wait_event(["AP-STA-POSSIBLE-PSK-MISMATCH"], timeout=10)
|
||||
if ev is None:
|
||||
raise Exception("No AP-STA-POSSIBLE-PSK-MISMATCH reported")
|
||||
dev[0].dump_monitor()
|
||||
|
||||
hapd.disable()
|
||||
hapd.set("wpa_passphrase", "incorrect passphrase")
|
||||
hapd.enable()
|
||||
|
||||
dev[0].wait_connected(timeout=20)
|
||||
|
Loading…
Reference in New Issue
Block a user