NetworkManager r3606 - trunk/src
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r3606 - trunk/src
- Date: Sun, 27 Apr 2008 14:15:43 +0100 (BST)
Author: dcbw
Date: Sun Apr 27 13:15:42 2008
New Revision: 3606
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3606&view=rev
Log:
Unmanage the device when removing it to match init procedure
Modified:
trunk/src/nm-manager.c
Modified: trunk/src/nm-manager.c
==============================================================================
--- trunk/src/nm-manager.c (original)
+++ trunk/src/nm-manager.c Sun Apr 27 13:15:42 2008
@@ -1359,8 +1359,10 @@
if (iter->data == device) {
priv->devices = g_slist_delete_link (priv->devices, iter);
- if (nm_device_get_managed (device))
+ if (nm_device_get_managed (device)) {
+ nm_device_set_managed (device, FALSE);
nm_device_bring_down (device, FALSE);
+ }
g_signal_handlers_disconnect_by_func (device, manager_device_state_changed, manager);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]