tests: Fix DPP test case skipping without CONFIG_DPP
dpp_config_legacy_gen_two_conf_psk and dpp_config_legacy_gen_two_conf tried to set a DPP parameter before having verified that CONFIG_DPP was used in the build. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
568a5a8159
commit
effe5bbff7
1 changed files with 2 additions and 0 deletions
|
@ -924,6 +924,7 @@ def test_dpp_config_legacy_gen_psk(dev, apdev):
|
||||||
|
|
||||||
def test_dpp_config_legacy_gen_two_conf(dev, apdev):
|
def test_dpp_config_legacy_gen_two_conf(dev, apdev):
|
||||||
"""Generate DPP Config Object for legacy network (two config objects)"""
|
"""Generate DPP Config Object for legacy network (two config objects)"""
|
||||||
|
check_dpp_capab(dev[0])
|
||||||
ssid1 = "test1"
|
ssid1 = "test1"
|
||||||
pass1 = "passphrase for psk"
|
pass1 = "passphrase for psk"
|
||||||
ssid2 = "test-2"
|
ssid2 = "test-2"
|
||||||
|
@ -977,6 +978,7 @@ def test_dpp_config_legacy_gen_two_conf(dev, apdev):
|
||||||
|
|
||||||
def test_dpp_config_legacy_gen_two_conf_psk(dev, apdev):
|
def test_dpp_config_legacy_gen_two_conf_psk(dev, apdev):
|
||||||
"""Generate DPP Config Object for legacy network (two config objects, psk)"""
|
"""Generate DPP Config Object for legacy network (two config objects, psk)"""
|
||||||
|
check_dpp_capab(dev[0])
|
||||||
ssid1 = "test1"
|
ssid1 = "test1"
|
||||||
psk1 = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
|
psk1 = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
|
||||||
ssid2 = "test-2"
|
ssid2 = "test-2"
|
||||||
|
|
Loading…
Add table
Reference in a new issue