]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix scan result clearing in ssid_hidden*
authorJouni Malinen <j@w1.fi>
Sun, 20 Dec 2015 10:59:19 +0000 (12:59 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 20 Dec 2015 15:25:41 +0000 (17:25 +0200)
commit7c7234a583278367b105955153ac6985582ce534
treebdac3f8e4453f21d9510d7f4290037bb147d0620
parentbfdb90d40f697eb10dcef6ae662099ede6c90039
tests: Fix scan result clearing in ssid_hidden*

These test cases were supposed to clear the cfg80211 and wpa_supplicant
scan caches in the end to avoid causing issues to the following test
cases. This did not work properly after introduction of the support for
aborting a pending scan. Fix this by using the flush_scan_cache()
function and waiting within the test case until the final scan operation
completes.

This issue was triggered by ssid_hidden/ssid_hidden2 followed by
ext_password_interworking (though, not every time).

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