]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Use different groups in test_sae_no_ffc_by_default
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Wed, 8 May 2024 13:42:13 +0000 (16:42 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 12 Jul 2024 09:59:26 +0000 (12:59 +0300)
The test assumes that STA will try to reconnect with the same SAE group
after the first authentication attempt is rejected due to unsupported
group. Since this behaviour is fixed in the previous patch, configure
two different groups to trigger the second authentication attempt.

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

index dcb23e531727598caf775e5b119c734129a2255f..6f5751ffe2c173acb113aa11cc097f61a3235c80 100644 (file)
@@ -1298,7 +1298,7 @@ def test_sae_no_ffc_by_default(dev, apdev):
     params['wpa_key_mgmt'] = 'SAE'
     hapd = hostapd.add_ap(apdev[0], params)
 
-    dev[0].request("SET sae_groups 15")
+    dev[0].request("SET sae_groups 15 16")
     dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE", scan_freq="2412",
                    wait_connect=False)
     ev = dev[0].wait_event(["SME: Trying to authenticate"], timeout=3)