Skip wpas_config_file_key_mgmt if DPP is not supported. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@xxxxxxxxx> --- tests/hwsim/test_wpas_config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/hwsim/test_wpas_config.py b/tests/hwsim/test_wpas_config.py index 70b354697b..7688c20d1c 100644 --- a/tests/hwsim/test_wpas_config.py +++ b/tests/hwsim/test_wpas_config.py @@ -541,7 +541,10 @@ def test_wpas_config_file_key_mgmt(dev, apdev, params): wpas.interface_add("wlan5", config=config) - from test_dpp import params1_csign, params1_sta_connector, params1_sta_netaccesskey + from test_dpp import params1_csign, params1_sta_connector, params1_sta_netaccesskey, check_dpp_capab + + check_dpp_capab(wpas) + id = wpas.add_network() wpas.set_network_quoted(id, "ssid", "foo") wpas.set_network(id, "key_mgmt", "DPP") -- 2.19.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap