Commit 8a937483 authored by Robert Love's avatar Robert Love Committed by Robert Love
Browse files

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
parent d1d4bcdd
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"
......
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment