[PATCH] DBus: publish keys in network properties

Johannes Berg johannes at sipsolutions.net
Fri Dec 17 09:33:54 EST 2010


From: Jean Trivelly <jeanx.trivelly at linux.intel.com>

When the network was provisioned, we need to
get the keys to be able to reconnect without
new provisioning.

Signed-off-by: Johannes Berg <johannes.berg at intel.com>
---
 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 8d97ef2..0f4b6f1 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c
@@ -2818,7 +2818,7 @@ DBusMessage * wpas_dbus_getter_network_properties(
 	DBusMessage *reply = NULL;
 	DBusMessageIter	iter, variant_iter, dict_iter;
 	char **iterator;
-	char **props = wpa_config_get_all(net->ssid, 0);
+	char **props = wpa_config_get_all(net->ssid, 1);
 	if (!props)
 		return dbus_message_new_error(message, DBUS_ERROR_NO_MEMORY,
 					      NULL);
-- 
1.7.2.3





More information about the HostAP mailing list