]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Make pmksa_cache_opportunistic_connect more robust
authorJouni Malinen <j@w1.fi>
Sun, 6 Dec 2015 18:31:18 +0000 (20:31 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 6 Dec 2015 18:31:18 +0000 (20:31 +0200)
commitcc02fd3effe2b8caaabc0ca8ea36932858275917
tree3e767afe9bedded528385a3d675252e92028bdab
parentb0ecbd3a4a11699195fb078eaf7a11c2e784d010
tests: Make pmksa_cache_opportunistic_connect more robust

This test case could fail if the cfg80211 scan cache brought in a BSS
entry from an earlier test case and a new scan did not get executed
prior to the ROAM command. Fix this by forcing the scan to go through
prior to roaming to AP2

This issue showed up with the following test case sequence:
connect_cmd_roam pmksa_cache_opportunistic_connect

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_pmksa_cache.py