From: Jouni Malinen Date: Sun, 14 Feb 2021 18:16:18 +0000 (+0200) Subject: tests: Make ap_sae_tdls more robust X-Git-Tag: hostap_2_10~571 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11736a1a784097fe7adbab70db4edda510458d71;p=thirdparty%2Fhostap.git tests: Make ap_sae_tdls more robust Need to clear sae_groups parameter before using SAE in this test case to avoid issues if previous test cases have left a specific group configured. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_tdls.py b/tests/hwsim/test_ap_tdls.py index a2bf6d498..8cdd00235 100644 --- a/tests/hwsim/test_ap_tdls.py +++ b/tests/hwsim/test_ap_tdls.py @@ -639,6 +639,8 @@ def test_ap_sae_tdls(dev, apdev): """SAE AP and two stations using TDLS""" check_sae_capab(dev[0]) check_sae_capab(dev[1]) + dev[0].request("SET sae_groups ") + dev[1].request("SET sae_groups ") params = hostapd.wpa2_params(ssid="test-wpa2-psk", passphrase="12345678") params['wpa_key_mgmt'] = 'SAE' params["ieee80211w"] = "2"