mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
auto-t: add missing ocv option and wait to testChannelSwitch
This should have been added to the original test
This commit is contained in:
parent
b16621b9ee
commit
bec0cabde4
@ -39,6 +39,10 @@ class Test(unittest.TestCase):
|
|||||||
testutil.test_ifaces_connected()
|
testutil.test_ifaces_connected()
|
||||||
|
|
||||||
hapd.chan_switch(2)
|
hapd.chan_switch(2)
|
||||||
|
# Make sure the SA Query is verified and IWD doesn't disconnect
|
||||||
|
with self.assertRaises(TimeoutError):
|
||||||
|
condition = 'obj.state == DeviceState.disconnected'
|
||||||
|
wd.wait_for_object_condition(device, condition, 4)
|
||||||
|
|
||||||
condition = 'obj.state == DeviceState.connected'
|
condition = 'obj.state == DeviceState.connected'
|
||||||
wd.wait_for_object_condition(device, condition)
|
wd.wait_for_object_condition(device, condition)
|
||||||
|
@ -5,3 +5,4 @@ ssid=ssidCCMP
|
|||||||
wpa=2
|
wpa=2
|
||||||
wpa_pairwise=CCMP
|
wpa_pairwise=CCMP
|
||||||
wpa_passphrase=secret123
|
wpa_passphrase=secret123
|
||||||
|
ocv=1
|
||||||
|
Loading…
Reference in New Issue
Block a user