tests: Flush scan cache for rrm_beacon_req_table_detail
Explicitly flush the scan cache in wpa_supplicant and cfg80211 to avoid test failures here. An additional BSS table entry from a scan based on a previous test case could result in causing this test case to report failure since each beacon response could include multiple entries and the check for the details would fail due to the unexpected data. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
e41a51285d
commit
30d6231e02
1 changed files with 1 additions and 0 deletions
|
@ -1019,6 +1019,7 @@ def test_rrm_beacon_req_table_detail(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()
|
||||
hapd.wait_sta()
|
||||
|
|
Loading…
Reference in a new issue