tests: Fix sigma_dut_ap_dpp_tcp_enrollee_init to stop hostapd
This test case was missing an explicit CAPI ap_reset_default and that could result in hostapd being left running at the end of the test case. This could result in issues with following test cases if they used a new radio interface from HWSimRadio(). Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
32360ad498
commit
8ea3561c6c
1 changed files with 1 additions and 0 deletions
|
@ -3114,6 +3114,7 @@ def run_sigma_dut_ap_dpp_tcp_enrollee_init(dev, apdev):
|
||||||
res = sigma_dut_cmd(cmd, timeout=10)
|
res = sigma_dut_cmd(cmd, timeout=10)
|
||||||
if "BootstrapResult,OK,AuthResult,OK,ConfResult,OK" not in res:
|
if "BootstrapResult,OK,AuthResult,OK,ConfResult,OK" not in res:
|
||||||
raise Exception("Unexpected result: " + res)
|
raise Exception("Unexpected result: " + res)
|
||||||
|
sigma_dut_cmd_check("ap_reset_default")
|
||||||
|
|
||||||
def test_sigma_dut_dpp_tcp_enrollee_init_mutual(dev, apdev):
|
def test_sigma_dut_dpp_tcp_enrollee_init_mutual(dev, apdev):
|
||||||
"""sigma_dut DPP TCP Enrollee as initiator with mutual authentication"""
|
"""sigma_dut DPP TCP Enrollee as initiator with mutual authentication"""
|
||||||
|
|
Loading…
Reference in a new issue