]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
DBus: Update dont_quote[] with new network profile parameters
authorJouni Malinen <j@w1.fi>
Wed, 25 Dec 2019 10:39:17 +0000 (12:39 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 25 Dec 2019 10:45:44 +0000 (12:45 +0200)
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 <j@w1.fi>
wpa_supplicant/dbus/dbus_new_handlers.c

index 813d3d85ff322819275263698b415ff676602091..4b6dabcc9b55a0ef46bb161105704cfa64a35c32 100644 (file)
@@ -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)