mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-29 16:24:03 -05:00
tests: Make wpas_ctrl_bssid_filter more robust
Use scan_for_bss() to make sure the AP is seen even under heavy CPU load. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
54c20c9b43
commit
487a31f355
@ -582,6 +582,7 @@ def test_wpas_ctrl_bssid_filter(dev, apdev):
|
||||
params = { "ssid": "test" }
|
||||
hostapd.add_ap(apdev[0]['ifname'], params)
|
||||
hostapd.add_ap(apdev[1]['ifname'], params)
|
||||
dev[2].scan_for_bss(apdev[0]['bssid'], freq="2412")
|
||||
dev[2].scan(freq="2412")
|
||||
bss = dev[2].get_bss(apdev[0]['bssid'])
|
||||
if bss is None or len(bss) == 0:
|
||||
|
Loading…
Reference in New Issue
Block a user