]> git.ipfire.org Git - thirdparty/hostap.git/commit - tests/hwsim/test_wnm.py
tests: Try to clear scan results after regulatory domain changes
authorJouni Malinen <j@w1.fi>
Sun, 14 Dec 2014 23:32:01 +0000 (01:32 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 14 Dec 2014 23:32:01 +0000 (01:32 +0200)
commit9d7fdac5b3e859870748967c2c96140b2f9b973b
tree50023ae7baf90a6d8a83e051986340f399b9cfe8
parent970a23f665afa3bd0a3341b3706488de53d5f6da
tests: Try to clear scan results after regulatory domain changes

It was possible for regulatory domain changes to "leak" into following
test cases in number of cases where the cfg80211 BSS table remained
after regulatory domain had been restored to world roaming. Try to make
this less likely to occur by explicitly clearing BSS table at the end of
test cases that use different regulatory domain. This makes P2P test
cases that verify channel selection based on world roaming rules more
robust.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_acs.py
tests/hwsim/test_ap_ht.py
tests/hwsim/test_ap_params.py
tests/hwsim/test_ap_vht.py
tests/hwsim/test_ap_wps.py
tests/hwsim/test_dfs.py
tests/hwsim/test_nfc_wps.py
tests/hwsim/test_p2p_channel.py
tests/hwsim/test_wnm.py