[network-manager-applet] wired 802.1x: Actually use the entered secrets.



commit 9f9d4d4c4279fa457b2bf5a5fde6b15aea8372c9
Author: Tambet Ingo <tambet gmail com>
Date:   Wed Sep 2 12:34:32 2009 +0300

    wired 802.1x: Actually use the entered secrets.

 src/applet-device-wired.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/applet-device-wired.c b/src/applet-device-wired.c
index 2da4601..dc24051 100644
--- a/src/applet-device-wired.c
+++ b/src/applet-device-wired.c
@@ -672,7 +672,10 @@ get_8021x_secrets_cb (GtkDialog *dialog,
 		goto done;
 	}
 
+	utils_fill_connection_certs (NM_CONNECTION (connection));
 	secrets = nm_setting_to_hash (setting);
+	utils_clear_filled_connection_certs (NM_CONNECTION (connection));
+
 	if (!secrets) {
 		g_set_error (&error,
 		             NM_SETTINGS_INTERFACE_ERROR,
@@ -682,9 +685,6 @@ get_8021x_secrets_cb (GtkDialog *dialog,
 		goto done;
 	}
 
-	utils_fill_connection_certs (NM_CONNECTION (connection));
-	utils_clear_filled_connection_certs (NM_CONNECTION (connection));
-
 	/* Returned secrets are a{sa{sv}}; this is the outer a{s...} hash that
 	 * will contain all the individual settings hashes.
 	 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]