dbus: Do not quote scan_freq and freq_list

scan_freq and freq_list are not parsed by wpa_config_parse_freqs if
quoted.

Signed-hostap: Robert Shade <robert.shade@gmail.com>
This commit is contained in:
Robert Shade 2012-11-11 16:21:16 +02:00 committed by Jouni Malinen
parent a8c5b43ad3
commit 99276998fa

View file

@ -124,7 +124,7 @@ DBusMessage * wpas_dbus_error_invalid_args(DBusMessage *message,
static const char *dont_quote[] = { static const char *dont_quote[] = {
"key_mgmt", "proto", "pairwise", "auth_alg", "group", "eap", "key_mgmt", "proto", "pairwise", "auth_alg", "group", "eap",
"opensc_engine_path", "pkcs11_engine_path", "pkcs11_module_path", "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) static dbus_bool_t should_quote_opt(const char *key)