NetworkManager r3511 - in trunk: . libnm-glib



Author: dcbw
Date: Sat Mar 29 20:03:07 2008
New Revision: 3511
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3511&view=rev

Log:
2008-03-29  Dan Williams  <dcbw redhat com>

	* libnm-glib/nm-client.c
		- (proxy_name_owner_changed): tell wireless devices about rfkill state
			before freeing them



Modified:
   trunk/ChangeLog
   trunk/libnm-glib/nm-client.c

Modified: trunk/libnm-glib/nm-client.c
==============================================================================
--- trunk/libnm-glib/nm-client.c	(original)
+++ trunk/libnm-glib/nm-client.c	Sat Mar 29 20:03:07 2008
@@ -490,11 +490,11 @@
 	if (!priv->manager_running) {
 		priv->state = NM_STATE_UNKNOWN;
 		nm_object_queue_notify (NM_OBJECT (client), NM_CLIENT_MANAGER_RUNNING);
+		poke_wireless_devices_with_rf_status (client);
 		free_object_array (&priv->devices);
 		free_object_array (&priv->active_connections);
 		priv->wireless_enabled = FALSE;
 		priv->wireless_hw_enabled = FALSE;
-		poke_wireless_devices_with_rf_status (client);
 	} else {
 		nm_object_queue_notify (NM_OBJECT (client), NM_CLIENT_MANAGER_RUNNING);
 		update_wireless_status (client, TRUE);



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