tests: Fix CONFIG_DPP3=y dependency in couple of test cases

These could not pass without DPP3 support.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2022-01-31 18:16:29 +02:00 committed by Jouni Malinen
parent 8670a80ea7
commit 4feb46ddb4
2 changed files with 3 additions and 3 deletions

View file

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

View file

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