diff --git a/src/nm-device-ethernet.c b/src/nm-device-ethernet.c index c64ebb8ed6..69d0539dc5 100644 --- a/src/nm-device-ethernet.c +++ b/src/nm-device-ethernet.c @@ -311,6 +311,9 @@ constructor (GType type, self = NM_DEVICE (object); priv = NM_DEVICE_ETHERNET_GET_PRIVATE (self); + nm_log_dbg (LOGD_HW | LOGD_ETHER, "(%s): kernel interface #%d", + nm_device_get_iface (NM_DEVICE (self)), priv->ifindex); + caps = nm_device_get_capabilities (self); if (caps & NM_DEVICE_CAP_CARRIER_DETECT) { GError *error = NULL; diff --git a/src/nm-device-olpc-mesh.c b/src/nm-device-olpc-mesh.c index 41fc83acd7..2093a8e887 100644 --- a/src/nm-device-olpc-mesh.c +++ b/src/nm-device-olpc-mesh.c @@ -262,6 +262,9 @@ constructor (GType type, self = NM_DEVICE_OLPC_MESH (object); priv = NM_DEVICE_OLPC_MESH_GET_PRIVATE (self); + nm_log_dbg (LOGD_HW | LOGD_OLPC_MESH, "(%s): kernel ifindex %d", + nm_device_get_iface (NM_DEVICE (self)), priv->ifindex); + iface = nm_device_get_iface (NM_DEVICE (self)); fd = socket (PF_INET, SOCK_DGRAM, 0); if (fd < 0) diff --git a/src/nm-device-wifi.c b/src/nm-device-wifi.c index 6062c3c72e..3e7a820476 100644 --- a/src/nm-device-wifi.c +++ b/src/nm-device-wifi.c @@ -578,6 +578,9 @@ constructor (GType type, self = NM_DEVICE_WIFI (object); priv = NM_DEVICE_WIFI_GET_PRIVATE (self); + nm_log_dbg (LOGD_HW | LOGD_WIFI, "(%s): kernel ifindex %d", + nm_device_get_iface (NM_DEVICE (self)), priv->ifindex); + memset (&range, 0, sizeof (struct iw_range)); success = wireless_get_range (NM_DEVICE_WIFI (object), &range, &response_len); if (!success)