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:
7781da6
)
tests: Make pmksa_cache_opportunistic_connect more robust
author
Jouni Malinen
<j@w1.fi>
Sun, 14 Dec 2014 17:15:48 +0000
(19:15 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sun, 14 Dec 2014 17:15:48 +0000
(19:15 +0200)
Use scan_for_bss() instead of scan(freq) to avoid false positives due to
active scan failing under heavy load.
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_pmksa_cache.py
patch
|
blob
|
history
diff --git
a/tests/hwsim/test_pmksa_cache.py
b/tests/hwsim/test_pmksa_cache.py
index
05b9d8d
..
21bb315
100644
(file)
--- a/
tests/hwsim/test_pmksa_cache.py
+++ b/
tests/hwsim/test_pmksa_cache.py
@@
-206,7
+206,7
@@
def test_pmksa_cache_opportunistic_connect(dev, apdev):
wpas.dump_monitor()
logger.info("Roam to AP2")
- wpas.scan
(
freq="2412")
+ wpas.scan
_for_bss(bssid2,
freq="2412")
wpas.request("ROAM " + bssid2)
ev = wpas.wait_event(["CTRL-EVENT-EAP-STARTED",
"CTRL-EVENT-CONNECTED"], timeout=10)