3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 12:52:49 +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:
James Prestwood 2019-08-01 15:26:09 -07:00 committed by Denis Kenzior
parent 8053152730
commit e2ec571f06

View File

@ -23,11 +23,9 @@ class Test(unittest.TestCase):
devices[2].disconnect()
devices[3].disconnect()
condition = 'not obj.scanning'
condition = 'obj.scanning'
wd.wait_for_object_condition(device, condition)
device.scan()
condition = 'not obj.scanning'
wd.wait_for_object_condition(device, condition)