]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
dbus: Do not quote scan_freq and freq_list
authorRobert Shade <robert.shade@gmail.com>
Sun, 11 Nov 2012 14:21:16 +0000 (16:21 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 11 Nov 2012 14:21:16 +0000 (16:21 +0200)
scan_freq and freq_list are not parsed by wpa_config_parse_freqs if
quoted.

Signed-hostap: Robert Shade <robert.shade@gmail.com>

wpa_supplicant/dbus/dbus_new_handlers.c

index 65f722664b4e71380ca46b8a1d34de50e3705944..72d1dfa22a5180b1c264f560cd0edc1bb9891872 100644 (file)
@@ -124,7 +124,7 @@ DBusMessage * wpas_dbus_error_invalid_args(DBusMessage *message,
 static const char *dont_quote[] = {
        "key_mgmt", "proto", "pairwise", "auth_alg", "group", "eap",
        "opensc_engine_path", "pkcs11_engine_path", "pkcs11_module_path",
-       "bssid", NULL
+       "bssid", "scan_freq", "freq_list", NULL
 };
 
 static dbus_bool_t should_quote_opt(const char *key)