From: Jouni Malinen Date: Sun, 17 Mar 2019 19:42:38 +0000 (+0200) Subject: tests: Fix ap_mixed_security to reset sae_groups setting X-Git-Tag: hostap_2_8~183 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95ace8670bdb476e0c4b7d8ce5d923f33c61928b;p=thirdparty%2Fhostap.git 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 --- 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"))