From 4318a635a902f68bea8f305a598ca38155ca26cb Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 25 Dec 2019 12:39:17 +0200 Subject: [PATCH] DBus: Update dont_quote[] with new network profile parameters This array had not been updated for years (since it was initially added) and it was missing new network profile parameters that were not quoted strings (but also not integers that could be set as integer types). Add those missing non-quoted-strings to allow them to be set through the DBus interface. Signed-off-by: Jouni Malinen --- wpa_supplicant/dbus/dbus_new_handlers.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c index 813d3d85f..4b6dabcc9 100644 --- a/wpa_supplicant/dbus/dbus_new_handlers.c +++ b/wpa_supplicant/dbus/dbus_new_handlers.c @@ -137,7 +137,15 @@ DBusMessage * wpas_dbus_error_no_memory(DBusMessage *message) static const char * const dont_quote[] = { "key_mgmt", "proto", "pairwise", "auth_alg", "group", "eap", - "bssid", "scan_freq", "freq_list", NULL + "bssid", "scan_freq", "freq_list", "scan_ssid", "bssid_hint", + "bssid_blacklist", "bssid_whitelist", "group_mgmt", +#ifdef CONFIG_MESH + "mesh_basic_rates", +#endif /* CONFIG_MESH */ +#ifdef CONFIG_P2P + "go_p2p_dev_addr", "p2p_client_list", "psk_list", +#endif /* CONFIG_P2P */ + NULL }; static dbus_bool_t should_quote_opt(const char *key)