From: Jouni Malinen Date: Wed, 25 Oct 2023 10:53:35 +0000 (+0300) Subject: tests: Remove exception for SAE MLD testing X-Git-Tag: hostap_2_11~950 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6affbf1fb098da3eb672fda1d6c35a3c06991e68;p=thirdparty%2Fhostap.git 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 --- 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")