[PATCH] dbus: don't quote scan_freq and freq_list

Robert Shade robert.shade
Mon Oct 29 19:08:12 PDT 2012


scan_freq and freq_list are not parsed by wpa_config_parse_freqs if quoted

---
 wpa_supplicant/dbus/dbus_new_handlers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c
b/wpa_supplicant/dbus/dbus_new_handlers.c
index 00378be..4229157 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c
@@ -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)
-- 
1.7.1



More information about the Hostap mailing list