mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:39:39 +01:00
auto-t: remove dbus scan call in SAE autoconnect test
Doing this scan causes issues in the test. Like with other autoconnect tests we can just use the fact that IWD will always be doing a periodic scan during start up, so we only need to wait for that to finish before querying the network list.
This commit is contained in:
parent
8053152730
commit
e2ec571f06
@ -23,11 +23,9 @@ class Test(unittest.TestCase):
|
|||||||
devices[2].disconnect()
|
devices[2].disconnect()
|
||||||
devices[3].disconnect()
|
devices[3].disconnect()
|
||||||
|
|
||||||
condition = 'not obj.scanning'
|
condition = 'obj.scanning'
|
||||||
wd.wait_for_object_condition(device, condition)
|
wd.wait_for_object_condition(device, condition)
|
||||||
|
|
||||||
device.scan()
|
|
||||||
|
|
||||||
condition = 'not obj.scanning'
|
condition = 'not obj.scanning'
|
||||||
wd.wait_for_object_condition(device, condition)
|
wd.wait_for_object_condition(device, condition)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user