mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
auto-t: use .frequency property in SAQuery-spoofing test
This commit is contained in:
parent
7a74a825a4
commit
876ac5f569
@ -49,7 +49,7 @@ class Test(unittest.TestCase):
|
|||||||
wd.wait_for_object_condition(device, condition)
|
wd.wait_for_object_condition(device, condition)
|
||||||
|
|
||||||
# Spoof a disassociate frame. This will kick off SA Query procedure.
|
# 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 to ensure hostapd responds and SA Query does not timeout
|
||||||
sleep(4)
|
sleep(4)
|
||||||
|
Loading…
Reference in New Issue
Block a user