[PATCH 48/50] tests: Clear sae_groups in eht_sae test

Andrei Otcheretianski andrei.otcheretianski at intel.com
Wed Feb 15 15:09:02 PST 2023


Otherwise subsequent tests may fail.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
 tests/hwsim/test_eht.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/hwsim/test_eht.py b/tests/hwsim/test_eht.py
index ae078ee5b0..ebc846c0d4 100644
--- a/tests/hwsim/test_eht.py
+++ b/tests/hwsim/test_eht.py
@@ -90,6 +90,7 @@ def test_eht_sae(dev, apdev):
                        pairwise="GCMP-256", group="GCMP-256",
                        group_mgmt="BIP-GMAC-256", scan_freq="2412")
     finally:
+        dev[0].set("sae_groups", "")
         dev[0].set("sae_pwe", "0")
 
 def test_eht_sae_mlo(dev, apdev):
@@ -115,4 +116,5 @@ def test_eht_sae_mlo(dev, apdev):
             if "status_code=15" not in ev:
                 raise Exception("Unexpected authentication failure: " + ev)
     finally:
+        dev[0].set("sae_groups", "")
         dev[0].set("sae_pwe", "0")
-- 
2.38.1




More information about the Hostap mailing list