From: Jouni Malinen Date: Thu, 2 Jan 2020 20:54:29 +0000 (+0200) Subject: tests: Make ap_hs20_roaming_consortiums_match more robust X-Git-Tag: hostap_2_10~2009 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=696acdf3330d54c0c28231a33cea05b1bf000795;p=thirdparty%2Fhostap.git tests: Make ap_hs20_roaming_consortiums_match more robust Explicitly clear cfg80211 scan cache to avoid issues with old BSS entries from previous test cases. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index 6041cd310..a733f84f8 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -1024,6 +1024,7 @@ def test_ap_hs20_roaming_consortiums_match(dev, apdev): params['hessid'] = bssid hostapd.add_ap(apdev[0], params) + dev[0].flush_scan_cache() dev[0].hs20_enable() tests = [("112233", "112233"), ("ffffff,1020304050,eeeeee", "1020304050")]