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 <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2020-04-24 17:03:32 +03:00 committed by Jouni Malinen
parent e81e2091b3
commit 05abebaa06

View file

@ -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"""