tests: Make pmksa_cache_{,opportunistic_}multiple_sta more robust
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 23 Sep 2016 13:02:46 +0000 (16:02 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 23 Sep 2016 14:36:14 +0000 (17:36 +0300)
commit1c82fbf271a5e023f100166f3ac945837a49a582
tree4cedd192da664f5261663a8eaaeddd2b758b0522
parent78a37200f8336f3e509d7165e89caf132ced2d90
tests: Make pmksa_cache_{,opportunistic_}multiple_sta more robust

Clear wpa_supplicant scan cache before starting these test cases since
the ROAM command depends on the correct BSS entry being found.
scan_for_bss() does not enforce that correct entry to be present if
there was an earlier BSS entry with the same BSSID.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_pmksa_cache.py