3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +01:00

auto-t: use .frequency property in SAQuery-spoofing test

This commit is contained in:
James Prestwood 2021-08-12 16:12:32 -07:00 committed by Denis Kenzior
parent 7a74a825a4
commit 876ac5f569

View File

@ -49,7 +49,7 @@ class Test(unittest.TestCase):
wd.wait_for_object_condition(device, condition)
# Spoof a disassociate frame. This will kick off SA Query procedure.
hwsim.spoof_disassociate(radio, hostapd.get_freq(), device.address)
hwsim.spoof_disassociate(radio, hostapd.frequency, device.address)
# sleep to ensure hostapd responds and SA Query does not timeout
sleep(4)