2005-06-30 Robert Love <rml@novell.com>

* src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
          explicitly up all interfaces on wake from sleep.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@772 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Robert Love 2005-06-30 18:50:45 +00:00 committed by Robert Love
parent d1d4bcdd33
commit 8a93748305
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-06-30 Robert Love <rml@novell.com>
* src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
explicitly up all interfaces on wake from sleep.
2005-06-30 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Add right-click menu item "Connection Info"

View file

@ -436,6 +436,16 @@ static DBusMessage *nm_dbus_nm_wake (DBusConnection *connection, DBusMessage *me
nm_info ("Waking up from sleep.");
app_data->asleep = FALSE;
/* Physically up all devices */
nm_lock_mutex (app_data->dev_list_mutex, __FUNCTION__);
for (elt = app_data->dev_list; elt; elt = g_slist_next (elt))
{
NMDevice *dev = (NMDevice *)(elt->data);
nm_device_bring_up (dev);
}
nm_unlock_mutex (app_data->dev_list_mutex, __FUNCTION__);
nm_schedule_state_change_signal_broadcast (app_data);
nm_policy_schedule_device_change_check (data->data);
}