]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Remove exception for SAE MLD testing
authorJouni Malinen <quic_jouni@quicinc.com>
Wed, 25 Oct 2023 10:53:35 +0000 (13:53 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 25 Oct 2023 10:53:35 +0000 (13:53 +0300)
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 <quic_jouni@quicinc.com>
tests/hwsim/test_eht.py

index 0b85fb90214bf6e0737f1dce0ca3610eae89e51c..ce9d8a078fa718aa6488d92457b43fc65c61e953 100644 (file)
@@ -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")