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 <j@w1.fi>
This commit is contained in:
parent
69ccc557d8
commit
be5dda94e5
1 changed files with 1 additions and 0 deletions
|
@ -1019,6 +1019,7 @@ def test_rrm_beacon_req_table_request(dev, apdev):
|
||||||
params = {"ssid": "rrm", "rrm_beacon_report": "1"}
|
params = {"ssid": "rrm", "rrm_beacon_report": "1"}
|
||||||
hapd = hostapd.add_ap(apdev[0], params)
|
hapd = hostapd.add_ap(apdev[0], params)
|
||||||
|
|
||||||
|
dev[0].flush_scan_cache()
|
||||||
dev[0].connect("rrm", key_mgmt="NONE", scan_freq="2412")
|
dev[0].connect("rrm", key_mgmt="NONE", scan_freq="2412")
|
||||||
addr = dev[0].own_addr()
|
addr = dev[0].own_addr()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue