mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
auto-t: testSAQuery remove ungraceful restart
Instead the same effect can be seen by just ifdown/ifup the interface.
This commit is contained in:
parent
f6683bab75
commit
5776ce87d7
@ -38,7 +38,10 @@ class Test(unittest.TestCase):
|
||||
# Make AP go down ungracefully, when hostapd comes back up it should
|
||||
# send an unprotected disassociate frame so the client will re-auth.
|
||||
# This will kick off the SA Query procedure
|
||||
hostapd.ungraceful_restart()
|
||||
hostapd.interface.set_interface_state('down')
|
||||
hostapd.interface.set_interface_state('up')
|
||||
|
||||
hostapd.wait_for_event('INTERFACE-ENABLED')
|
||||
|
||||
condition = 'not obj.connected'
|
||||
wd.wait_for_object_condition(ordered_network.network_object, condition)
|
||||
|
Loading…
Reference in New Issue
Block a user