]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Clear cfg80211 BSS table at the end of scan_hidden
authorJouni Malinen <j@w1.fi>
Sun, 21 Dec 2014 19:58:47 +0000 (21:58 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 21 Dec 2014 19:58:47 +0000 (21:58 +0200)
commitb3f41349122b9ab60d5209305c3fbb3418b67c98
treedf76650f35d070ebf28c60751745a50aaf306881
parent2ffbf34db04a2e4994d6728842bd74b79b14ce84
tests: Clear cfg80211 BSS table at the end of scan_hidden

It was possible for the hidden SSID entry to leak into following test
cases and result in failures, e.g., in this sequence:

scan_hidden
scan_reqs_with_non_scan_radio_work
radius_auth_unreachable
wep_open_auth

BSS <BSSID> picked incorrect BSS entry within wpa_supplicant due to the
old zero-length SSID showing up from the earlier hidden SSID case.

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