]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix BSS table flushing and old result ignoring for WPS tests
authorJouni Malinen <j@w1.fi>
Sun, 31 Mar 2013 14:55:16 +0000 (17:55 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 31 Mar 2013 15:05:42 +0000 (18:05 +0300)
commit803edd1c09b7cfde9fbd9d0fb39a9842ae97ff45
tree10361171b15bca9417ee74711f490d523967767e
parent4342326fc7032a2b8fb84a1e535a3690226a6d0b
tests: Fix BSS table flushing and old result ignoring for WPS tests

The WPS tests are more prone to fail if scan results from the previous
test cases are allowed to remain in the wpa_supplicant BSS table during
the consecutive test since the test setup uses the same BSSID for the
test APs that change their configuration. Avoid these mostly bogus
issues by enforcing wpa_supplicant to drop and ignore old scan results
during the WPS test cases.

Signed-hostap: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_wps.py
tests/hwsim/wpasupplicant.py