From 876ac5f5698fe36905578e7947899bc0a1fb5b1e Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 12 Aug 2021 16:12:32 -0700 Subject: [PATCH] auto-t: use .frequency property in SAQuery-spoofing test --- autotests/testSAQuery-spoofing/connection_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/testSAQuery-spoofing/connection_test.py b/autotests/testSAQuery-spoofing/connection_test.py index c4c4e923..f64a93f7 100644 --- a/autotests/testSAQuery-spoofing/connection_test.py +++ b/autotests/testSAQuery-spoofing/connection_test.py @@ -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)