]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix ap_mixed_security to reset sae_groups setting
authorJouni Malinen <j@w1.fi>
Sun, 17 Mar 2019 19:42:38 +0000 (21:42 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 17 Mar 2019 22:02:08 +0000 (00:02 +0200)
This test case did not clear a possibly modified sae_groups value from a
prior test case and could fail if the previously set group was not
supported by the AP.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_mixed.py

index 3cab53ef85451b9fa722b417d4196c336eee6de1..81b85e6aa4722ac5f0c74e889475314e53a8d064 100644 (file)
@@ -33,6 +33,7 @@ def test_ap_mixed_security(dev, apdev):
                    password="abcdefghijklmnop0123456789abcdef",
                    scan_freq="2412")
     if sae:
+        dev[2].request("SET sae_groups ")
         dev[2].connect(ssid, psk=passphrase, key_mgmt="SAE", scan_freq="2412")
 
     logger.debug(dev[0].request("SCAN_RESULTS"))