tests: Fix sigma_dut_sae_pw_id_pwe_loop to clear sae_pwe setting

Leaving out the special sae_pwe value was causing failures for following
test cases, e.g., in the following sequence:
sigma_dut_sae_pw_id_pwe_loop sae_password_id_only

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2020-03-08 13:49:22 +02:00
parent 023441c102
commit 9bf306f57d

View File

@ -505,6 +505,7 @@ def test_sigma_dut_sae_pw_id_pwe_loop(dev, apdev):
sigma_dut_cmd_check("sta_reset_default,interface," + ifname) sigma_dut_cmd_check("sta_reset_default,interface," + ifname)
finally: finally:
stop_sigma_dut(sigma) stop_sigma_dut(sigma)
dev[0].set("sae_pwe", "0")
def test_sigma_dut_sae_pw_id_ft(dev, apdev): def test_sigma_dut_sae_pw_id_ft(dev, apdev):
"""sigma_dut controlled SAE association with Password Identifier and FT""" """sigma_dut controlled SAE association with Password Identifier and FT"""