From 95ace8670bdb476e0c4b7d8ce5d923f33c61928b Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 17 Mar 2019 21:42:38 +0200 Subject: [PATCH] tests: Fix ap_mixed_security to reset sae_groups setting 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 --- tests/hwsim/test_ap_mixed.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hwsim/test_ap_mixed.py b/tests/hwsim/test_ap_mixed.py index 3cab53ef8..81b85e6aa 100644 --- a/tests/hwsim/test_ap_mixed.py +++ b/tests/hwsim/test_ap_mixed.py @@ -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"))