tests: Make pmksa_cache_opportunistic_connect more robust
authorJouni Malinen <j@w1.fi>
Sun, 14 Dec 2014 17:15:48 +0000 (19:15 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 14 Dec 2014 17:15:48 +0000 (19:15 +0200)
commit5881873b865fc24a060efb56d4214c830e0986d9
treebb56aad5b362b87b70fd09a7a2dd1ff85c86fd1d
parent7781da6b2bb95e14d9305d5cea9d3f9228473720
tests: Make pmksa_cache_opportunistic_connect more robust

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