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 <j@w1.fi>
This commit is contained in:
parent
2c98cbecb4
commit
11736a1a78
1 changed files with 2 additions and 0 deletions
|
@ -639,6 +639,8 @@ def test_ap_sae_tdls(dev, apdev):
|
||||||
"""SAE AP and two stations using TDLS"""
|
"""SAE AP and two stations using TDLS"""
|
||||||
check_sae_capab(dev[0])
|
check_sae_capab(dev[0])
|
||||||
check_sae_capab(dev[1])
|
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 = hostapd.wpa2_params(ssid="test-wpa2-psk", passphrase="12345678")
|
||||||
params['wpa_key_mgmt'] = 'SAE'
|
params['wpa_key_mgmt'] = 'SAE'
|
||||||
params["ieee80211w"] = "2"
|
params["ieee80211w"] = "2"
|
||||||
|
|
Loading…
Reference in a new issue