From: Jouni Malinen Date: Mon, 31 Jan 2022 16:16:29 +0000 (+0200) Subject: tests: Fix CONFIG_DPP3=y dependency in couple of test cases X-Git-Tag: hostap_2_11~2271 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4feb46ddb4489ce13e6f2fa2e051a185ee569aa8;p=thirdparty%2Fhostap.git tests: Fix CONFIG_DPP3=y dependency in couple of test cases These could not pass without DPP3 support. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_dpp3.py b/tests/hwsim/test_dpp3.py index 2b0a01640..d87d6ed48 100644 --- a/tests/hwsim/test_dpp3.py +++ b/tests/hwsim/test_dpp3.py @@ -165,8 +165,8 @@ def test_dpp_controller_relay_pkex(dev, apdev, params): dev[1].request("DPP_CONTROLLER_STOP") def run_dpp_controller_relay_pkex(dev, apdev, params): - check_dpp_capab(dev[0], min_ver=2) - check_dpp_capab(dev[1], min_ver=2) + check_dpp_capab(dev[0], min_ver=3) + check_dpp_capab(dev[1], min_ver=3) prefix = "dpp_controller_relay_pkex" cap_lo = os.path.join(params['logdir'], prefix + ".lo.pcap") diff --git a/tests/hwsim/test_sigma_dut.py b/tests/hwsim/test_sigma_dut.py index 599a32e7a..615f9172a 100644 --- a/tests/hwsim/test_sigma_dut.py +++ b/tests/hwsim/test_sigma_dut.py @@ -2519,7 +2519,7 @@ def run_sigma_dut_ap_dpp_pkex_responder(dev, apdev): def test_sigma_dut_ap_dpp_pkex_responder_tcp(dev, apdev, params): """sigma_dut controlled AP as DPP PKEX responder (TCP)""" - check_dpp_capab(dev[0]) + check_dpp_capab(dev[0], min_ver=3) logdir = params['prefix'] + ".sigma-hostapd" with HWSimRadio() as (radio, iface): sigma = start_sigma_dut(iface, hostapd_logdir=logdir)