mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
auto-t: add test for a deauth coming in during an FT-roam
This commit is contained in:
parent
71dc347582
commit
9232991e25
@ -149,6 +149,21 @@ class Test(unittest.TestCase):
|
||||
condition = 'obj.state == DeviceState.disconnected'
|
||||
self.wd.wait_for_object_condition(device, condition)
|
||||
|
||||
def test_ft_deauth_before_association(self):
|
||||
self.rule2.enabled = True
|
||||
self.rule3.enabled = True
|
||||
|
||||
device = self.wd.list_devices(1)[0]
|
||||
|
||||
self.connect(self.wd, device, self.bss_hostapd[0])
|
||||
|
||||
device.wait_for_event('ft-authenticating', timeout=60)
|
||||
|
||||
self.bss_hostapd[1].deauthenticate(device.address)
|
||||
|
||||
condition = 'obj.state == DeviceState.disconnected'
|
||||
self.wd.wait_for_object_condition(device, condition)
|
||||
|
||||
def setUp(self):
|
||||
self.wd = IWD(True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user