tests: Clear sae_pwe at the end of sigma_dut test cases
sigma_dut does not clear sae_pwe value when the command line argument "-2" is used, so we need to explicitly clear this from wpa_supplicant at the end of the test case. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
e0cd7172c2
commit
ee27567198
1 changed files with 3 additions and 0 deletions
|
@ -3334,6 +3334,7 @@ def test_sigma_dut_sae_h2e(dev, apdev):
|
||||||
raise Exception("Unexpected error result: " + res)
|
raise Exception("Unexpected error result: " + res)
|
||||||
finally:
|
finally:
|
||||||
stop_sigma_dut(sigma)
|
stop_sigma_dut(sigma)
|
||||||
|
dev[0].set("sae_pwe", "0")
|
||||||
|
|
||||||
def test_sigma_dut_sae_h2e_ap_loop(dev, apdev):
|
def test_sigma_dut_sae_h2e_ap_loop(dev, apdev):
|
||||||
"""sigma_dut controlled SAE H2E association (AP using loop-only)"""
|
"""sigma_dut controlled SAE H2E association (AP using loop-only)"""
|
||||||
|
@ -3350,6 +3351,7 @@ def test_sigma_dut_sae_h2e_ap_loop(dev, apdev):
|
||||||
no_connect_sae_pwe_sta(dev[0], ifname, extra="sae_pwe,h2e")
|
no_connect_sae_pwe_sta(dev[0], ifname, extra="sae_pwe,h2e")
|
||||||
finally:
|
finally:
|
||||||
stop_sigma_dut(sigma)
|
stop_sigma_dut(sigma)
|
||||||
|
dev[0].set("sae_pwe", "0")
|
||||||
|
|
||||||
def test_sigma_dut_sae_h2e_ap_h2e(dev, apdev):
|
def test_sigma_dut_sae_h2e_ap_h2e(dev, apdev):
|
||||||
"""sigma_dut controlled SAE H2E association (AP using H2E-only)"""
|
"""sigma_dut controlled SAE H2E association (AP using H2E-only)"""
|
||||||
|
@ -3366,6 +3368,7 @@ def test_sigma_dut_sae_h2e_ap_h2e(dev, apdev):
|
||||||
connect_sae_pwe_sta(dev[0], ifname, extra="sae_pwe,h2e")
|
connect_sae_pwe_sta(dev[0], ifname, extra="sae_pwe,h2e")
|
||||||
finally:
|
finally:
|
||||||
stop_sigma_dut(sigma)
|
stop_sigma_dut(sigma)
|
||||||
|
dev[0].set("sae_pwe", "0")
|
||||||
|
|
||||||
def test_sigma_dut_ap_sae_h2e(dev, apdev, params):
|
def test_sigma_dut_ap_sae_h2e(dev, apdev, params):
|
||||||
"""sigma_dut controlled AP with SAE H2E"""
|
"""sigma_dut controlled AP with SAE H2E"""
|
||||||
|
|
Loading…
Reference in a new issue