]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Clear sae_groups in eht_sae test
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Wed, 15 Feb 2023 23:09:02 +0000 (01:09 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 7 Mar 2023 21:55:00 +0000 (23:55 +0200)
Otherwise subsequent tests may fail.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
tests/hwsim/test_eht.py

index ae078ee5b09b84eabfdeb7a4b93ddfa4ef94f116..ebc846c0d4fbc7eb4caf524d518cc35cb1b92ae3 100644 (file)
@@ -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")