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 <j@w1.fi>
This commit is contained in:
Jouni Malinen 2019-03-17 21:42:38 +02:00
parent 296670aa94
commit 95ace8670b

View file

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