]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix sigma_dut_sae_pw_id_pwe_loop to clear sae_pwe setting
authorJouni Malinen <j@w1.fi>
Sun, 8 Mar 2020 11:49:22 +0000 (13:49 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 8 Mar 2020 14:16:11 +0000 (16:16 +0200)
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>
tests/hwsim/test_sigma_dut.py

index 54c2a57ab30ede290d952420cfbc4669228a10eb..3edcf2159b0c6f2d5e347a47fdf733998f7c1d17 100644 (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)
     finally:
         stop_sigma_dut(sigma)
+        dev[0].set("sae_pwe", "0")
 
 def test_sigma_dut_sae_pw_id_ft(dev, apdev):
     """sigma_dut controlled SAE association with Password Identifier and FT"""