diff --git a/autotests/testFILS/fils_256_test.py b/autotests/testFILS/fils_256_test.py index 06fbfde3..1894c074 100644 --- a/autotests/testFILS/fils_256_test.py +++ b/autotests/testFILS/fils_256_test.py @@ -17,12 +17,7 @@ import testutil class Test(unittest.TestCase): def test_connection_success(self): - hapd = None - - for intf in hostapd_map.values(): - if intf.config == 'ssidFILS-256.conf': - hapd = HostapdCLI(intf) - break + hapd = HostapdCLI(config='ssidFILS-256.conf') wd = IWD(True) diff --git a/autotests/testFILS/fils_384_test.py b/autotests/testFILS/fils_384_test.py index 8bd8f4a0..09ff0b21 100644 --- a/autotests/testFILS/fils_384_test.py +++ b/autotests/testFILS/fils_384_test.py @@ -17,12 +17,7 @@ import testutil class Test(unittest.TestCase): def test_connection_success(self): - hapd = None - - for intf in hostapd_map.values(): - if intf.config == 'ssidFILS-384.conf': - hapd = HostapdCLI(intf) - break + hapd = HostapdCLI(config='ssidFILS-384.conf') wd = IWD(True)