From 11736a1a784097fe7adbab70db4edda510458d71 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 14 Feb 2021 20:16:18 +0200 Subject: [PATCH] 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 --- tests/hwsim/test_ap_tdls.py | 2 ++ 1 file changed, 2 insertions(+) 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"