projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bd566a
)
tests: Automatic reconnection on re-enabling temporarily disabled network
author
Jouni Malinen
<j@w1.fi>
Sun, 22 Mar 2015 18:54:07 +0000
(20:54 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sun, 22 Mar 2015 18:54:07 +0000
(20:54 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_psk.py
patch
|
blob
|
history
diff --git
a/tests/hwsim/test_ap_psk.py
b/tests/hwsim/test_ap_psk.py
index
3fdc0da
..
d2ebb29
100644
(file)
--- a/
tests/hwsim/test_ap_psk.py
+++ b/
tests/hwsim/test_ap_psk.py
@@
-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)