NetworkManager r3614 - trunk/src
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r3614 - trunk/src
- Date: Mon, 28 Apr 2008 01:54:47 +0100 (BST)
Author: dcbw
Date: Mon Apr 28 00:54:46 2008
New Revision: 3614
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3614&view=rev
Log:
Add some debugging to help isolate an eth device startup race
Modified:
trunk/src/nm-device-802-3-ethernet.c
trunk/src/nm-device.c
Modified: trunk/src/nm-device-802-3-ethernet.c
==============================================================================
--- trunk/src/nm-device-802-3-ethernet.c (original)
+++ trunk/src/nm-device-802-3-ethernet.c Mon Apr 28 00:54:46 2008
@@ -173,6 +173,7 @@
g_object_notify (G_OBJECT (self), NM_DEVICE_802_3_ETHERNET_CARRIER);
state = nm_device_interface_get_state (NM_DEVICE_INTERFACE (self));
+nm_info ("(%s): carrier now %s (device state %d)", nm_device_get_iface (NM_DEVICE (self)), carrier ? "ON" : "OFF", state);
if (state == NM_DEVICE_STATE_UNAVAILABLE) {
if (carrier)
nm_device_state_changed (NM_DEVICE (self), NM_DEVICE_STATE_DISCONNECTED);
Modified: trunk/src/nm-device.c
==============================================================================
--- trunk/src/nm-device.c (original)
+++ trunk/src/nm-device.c Mon Apr 28 00:54:46 2008
@@ -1705,6 +1705,7 @@
old_state = priv->state;
priv->state = state;
+nm_info ("(%s): device state change: %d -> %d", nm_device_get_iface (device), old_state, state);
if (priv->failed_to_disconnected_id) {
g_source_remove (priv->failed_to_disconnected_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]