From 6affbf1fb098da3eb672fda1d6c35a3c06991e68 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 25 Oct 2023 13:53:35 +0300 Subject: [PATCH] tests: Remove exception for SAE MLD testing hostapd now has support for SAE in MLD cases, so there is no need to maintain this exception that allowed the test case to pass even if the connection failed. Signed-off-by: Jouni Malinen --- tests/hwsim/test_eht.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/tests/hwsim/test_eht.py b/tests/hwsim/test_eht.py index 0b85fb902..ce9d8a078 100644 --- a/tests/hwsim/test_eht.py +++ b/tests/hwsim/test_eht.py @@ -157,17 +157,7 @@ def test_eht_sae_mlo(dev, apdev): dev[0].connect("eht", key_mgmt="SAE-EXT-KEY", psk="12345678", ieee80211w="2", beacon_prot="1", pairwise="GCMP-256", group="GCMP-256", - group_mgmt="BIP-GMAC-256", scan_freq="2412", - wait_connect=False) - ev = dev[0].wait_event(["CTRL-EVENT-CONNECTED", - "CTRL-EVENT-AUTH-REJECT"], timeout=10) - if ev is None: - raise Exception("No connection result reported") - if "CTRL-EVENT-AUTH-REJECT" in ev: - # There is no MLO support with SAE in hostapd yet, so allow failure - # due to MLD address not being used. - if "status_code=15" not in ev: - raise Exception("Unexpected authentication failure: " + ev) + group_mgmt="BIP-GMAC-256", scan_freq="2412") finally: dev[0].set("sae_groups", "") dev[0].set("sae_pwe", "0") -- 2.47.2