dbus: Do not quote scan_freq and freq_list in dbus_old_handlers.c
authorJiří Klimeš <jklimes@redhat.com>
Tue, 18 Aug 2015 11:33:59 +0000 (13:33 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 27 Aug 2015 21:13:26 +0000 (00:13 +0300)
scan_freq and freq_list are not parsed correctly by
wpa_config_parse_int_array() if quoted.

Patch for dbus_old_handlers.c, the same change as done by Robert Shade
<robert.shade@gmail.com> for dbus_new_handlers.c in commit
99276998fa26d4299825eeafb6386fe1c51f6287 ('dbus: Do not quote scan_freq
and freq_list').

Signed-off-by: Jiří Klimeš <jklimes@redhat.com>
wpa_supplicant/dbus/dbus_old_handlers.c

index 4a4b456..e8f62ef 100644 (file)
@@ -812,7 +812,7 @@ out:
 static const char * const 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
 };