tests: Make sigma_dut_dpp_qr_mutual_resp_enrollee_connector_privacy more robust
Clear the dpp_connector_privacy_default parameter value that sigma_dut set in wpa_supplicant at the end of the test case to avoid surprising behavior for the following test cases. This was found with a failure in the following test sequence: sigma_dut_dpp_qr_mutual_resp_enrollee_connector_privacy sigma_dut_dpp_proto_peer_disc_req Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
8219d2b7dd
commit
56321c0ac2
1 changed files with 5 additions and 2 deletions
|
@ -1792,8 +1792,11 @@ def test_sigma_dut_dpp_qr_mutual_resp_enrollee_connector_privacy(dev, apdev):
|
|||
"""sigma_dut DPP/QR (mutual) responder as Enrollee (Connector Privacy)"""
|
||||
check_dpp_capab(dev[0], min_ver=3)
|
||||
check_dpp_capab(dev[1], min_ver=3)
|
||||
run_sigma_dut_dpp_qr_mutual_resp_enrollee(dev, apdev,
|
||||
",DPPPrivNetIntro,Yes")
|
||||
try:
|
||||
run_sigma_dut_dpp_qr_mutual_resp_enrollee(dev, apdev,
|
||||
",DPPPrivNetIntro,Yes")
|
||||
finally:
|
||||
dev[0].set("dpp_connector_privacy_default", "0", allow_fail=True)
|
||||
|
||||
def run_sigma_dut_dpp_qr_mutual_resp_enrollee(dev, apdev, extra=None):
|
||||
check_dpp_capab(dev[0])
|
||||
|
|
Loading…
Reference in a new issue