From: Jouni Malinen Date: Fri, 24 Apr 2020 14:03:32 +0000 (+0300) Subject: tests: Fix sigma_dut_sae_h2e_enabled_group_rejected to clear sae_pwe X-Git-Tag: hostap_2_10~1402 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05abebaa06e2095b74f61dc96cef3c01659b1287;p=thirdparty%2Fhostap.git tests: Fix sigma_dut_sae_h2e_enabled_group_rejected to clear sae_pwe This test case was using sigma_dut to set sae_pwe=2, but that value was not cleared in the end. This could result in following SAE test cases failing due to unexpected behavior. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_sigma_dut.py b/tests/hwsim/test_sigma_dut.py index a115da12a..33a4b5751 100644 --- a/tests/hwsim/test_sigma_dut.py +++ b/tests/hwsim/test_sigma_dut.py @@ -3955,6 +3955,7 @@ def test_sigma_dut_sae_h2e_enabled_group_rejected(dev, apdev): raise Exception("Unexpected connection reported") finally: stop_sigma_dut(sigma) + dev[0].set("sae_pwe", "0") def test_sigma_dut_sae_h2e_rsnxe_mismatch(dev, apdev): """sigma_dut controlled SAE H2E misbehavior with RSNXE"""