tests: Clear sae_groups in radius_sae_password
This is needed to avoid failures caused by previous test cases having left behind constraints on the allowed groups. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
a32b424a3d
commit
825a545279
1 changed files with 5 additions and 0 deletions
|
@ -1388,6 +1388,9 @@ def test_radius_psk_oom(dev, apdev):
|
|||
|
||||
def test_radius_sae_password(dev, apdev):
|
||||
"""WPA3 with SAE password from RADIUS"""
|
||||
check_sae_capab(dev[0])
|
||||
check_sae_capab(dev[1])
|
||||
|
||||
t, t_events = start_radius_psk_server("12345678")
|
||||
|
||||
try:
|
||||
|
@ -1396,9 +1399,11 @@ def test_radius_sae_password(dev, apdev):
|
|||
params["wpa_key_mgmt"] = "SAE"
|
||||
params['ieee80211w'] = '2'
|
||||
hapd = hostapd.add_ap(apdev[0], params)
|
||||
dev[0].set("sae_groups", "")
|
||||
dev[0].connect("test-wpa3-sae", sae_password="12345678", key_mgmt="SAE",
|
||||
ieee80211w="2", scan_freq="2412")
|
||||
t_events['psk'] = "0123456789abcdef"
|
||||
dev[1].set("sae_groups", "")
|
||||
dev[1].connect("test-wpa3-sae", sae_password="0123456789abcdef",
|
||||
key_mgmt="SAE", ieee80211w="2", scan_freq="2412")
|
||||
finally:
|
||||
|
|
Loading…
Reference in a new issue