mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
auto-t: fix random testPSK-roam failure
This was caused by the unused hostapd instance running after being re-enabled by mistake. This cause an additional scan result with the same rank to be seen which would then be connected to by luck of the draw.
This commit is contained in:
parent
b0ad6158e1
commit
aaf1d91d51
@ -144,9 +144,10 @@ class Test(unittest.TestCase):
|
||||
IWD.copy_to_storage('TestFT.psk')
|
||||
|
||||
cls.bss_hostapd = [ HostapdCLI(config='ft-psk-ccmp-1.conf'),
|
||||
HostapdCLI(config='ft-psk-ccmp-2.conf'),
|
||||
HostapdCLI(config='ft-psk-ccmp-3.conf') ]
|
||||
cls.bss_hostapd[2].disable()
|
||||
HostapdCLI(config='ft-psk-ccmp-2.conf') ]
|
||||
|
||||
unused = HostapdCLI(config='ft-psk-ccmp-3.conf')
|
||||
unused.disable()
|
||||
|
||||
rad0 = hwsim.get_radio('rad0')
|
||||
rad3 = hwsim.get_radio('rad3')
|
||||
|
Loading…
Reference in New Issue
Block a user