]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Make ap_hs20_random_mac_addr more robust
authorJouni Malinen <j@w1.fi>
Sun, 28 Sep 2014 14:51:09 +0000 (17:51 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 28 Sep 2014 14:51:09 +0000 (17:51 +0300)
commit4a7d73d1619218a21dbd795fe2edbefab228ae9b
tree475e90a2d6cde614be4d5ef457424a6b1fc57ac1
parente5a79e3f9341d4c9dbe1526bdba0461be704deab
tests: Make ap_hs20_random_mac_addr more robust

If the previuous test case used a non-RSN AP and that was left in
cfg80211 scan results, it was possible for ap_hs20_random_mac_addr to
pick that old AP from the previous test and reject to connect through
Hotspot 2.0 mechanisms. Work around this test issue by requesting new
set of scan result at the beginning of the test.

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