]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix EHT 320 MHz tests to clear sae_groups
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 22 Aug 2024 09:09:20 +0000 (12:09 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 22 Aug 2024 09:09:20 +0000 (12:09 +0300)
These test cases could fail if they happened to be executed after a test
case that set a specific SAE group.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/hwsim/test_eht.py

index 5ce8258702490e75ef9b7db54f0c8d62376a23b8..7990a28857591a5b8338e7288c3c30c16c463938 100644 (file)
@@ -1362,6 +1362,7 @@ def _test_eht_6ghz(dev, apdev, channel, op_class, ccfs1):
             raise Exception("STATUS did not indicate ieee80211be=1")
 
         dev[0].set("sae_pwe", "1")
+        dev[0].set("sae_groups", "")
 
         freq = 5950 + channel * 5
         bw = _6ghz_op_class_to_bw(op_class)