From: Jouni Malinen Date: Tue, 31 Dec 2019 09:51:25 +0000 (+0200) Subject: tests: Make rrm_beacon_req_table_request more robust X-Git-Tag: hostap_2_10~2033 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=be5dda94e5989d179f9c0a6872a34d862ca9cde1;p=thirdparty%2Fhostap.git tests: Make rrm_beacon_req_table_request 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_rrm.py b/tests/hwsim/test_rrm.py index 72af6035f..dde98932b 100644 --- a/tests/hwsim/test_rrm.py +++ b/tests/hwsim/test_rrm.py @@ -1019,6 +1019,7 @@ def test_rrm_beacon_req_table_request(dev, apdev): params = {"ssid": "rrm", "rrm_beacon_report": "1"} hapd = hostapd.add_ap(apdev[0], params) + dev[0].flush_scan_cache() dev[0].connect("rrm", key_mgmt="NONE", scan_freq="2412") addr = dev[0].own_addr()