tests: Make rrm_reassociation more robust
It was possible for this test case to fail if a previously executed test case left another BSS entry for the BSSID used by the second AP here. That could have skipped the needed scan with scan_for_bss(bssid2). Force this command to run a new scan to discover the second AP correctly. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
9144f876a5
commit
64c3c58080
1 changed files with 1 additions and 1 deletions
|
@ -2397,7 +2397,7 @@ def test_rrm_reassociation(dev, apdev):
|
|||
|
||||
hapd2 = hostapd.add_ap(apdev[1]['ifname'], params)
|
||||
bssid2 = hapd2.own_addr()
|
||||
dev[0].scan_for_bss(bssid2, freq=2412)
|
||||
dev[0].scan_for_bss(bssid2, freq=2412, force_scan=True)
|
||||
dev[0].roam(bssid2)
|
||||
hapd2.wait_sta()
|
||||
check_beacon_req(hapd2, addr, 2)
|
||||
|
|
Loading…
Reference in a new issue