tests: Fix eht_mld_sae_legacy_client to restore sae_pwe
Changing sae_pwe and leaving the modified value for the following test cases can result in failures. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
d320692d91
commit
faee8b99e9
1 changed files with 10 additions and 6 deletions
|
@ -403,6 +403,7 @@ def test_eht_mld_sae_legacy_client(dev, apdev):
|
|||
|
||||
hapd1 = eht_mld_enable_ap(hapd_iface, params)
|
||||
|
||||
try:
|
||||
dev[0].set("sae_groups", "")
|
||||
dev[0].set("sae_pwe", "1")
|
||||
dev[0].connect(ssid, sae_password=passphrase, scan_freq="2412",
|
||||
|
@ -410,6 +411,9 @@ def test_eht_mld_sae_legacy_client(dev, apdev):
|
|||
|
||||
eht_verify_status(dev[0], hapd0, 2412, 20, is_ht=True)
|
||||
traffic_test(dev[0], hapd0)
|
||||
finally:
|
||||
dev[0].set("sae_groups", "")
|
||||
dev[0].set("sae_pwe", "0")
|
||||
|
||||
def test_eht_mld_sae_transition(dev, apdev):
|
||||
"""EHT MLD AP in SAE/PSK transition mode with MLD client connection using two links"""
|
||||
|
|
Loading…
Reference in a new issue