From c57c40a621003265a46ed07a558c27baf6e258a1 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 8 Apr 2010 15:51:54 -0700 Subject: [PATCH] core: fix device log message in UNAVAILABLE state --- src/nm-device.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/nm-device.c b/src/nm-device.c index e10c9049e..280d4e410 100644 --- a/src/nm-device.c +++ b/src/nm-device.c @@ -3390,9 +3390,12 @@ nm_device_state_changed (NMDevice *device, * reasons. */ if (nm_device_is_available (device)) { - nm_log_dbg (LOGD_WIFI, "(%s): device is available, will transition to DISCONNECTED", + nm_log_dbg (LOGD_DEVICE, "(%s): device is available, will transition to DISCONNECTED", nm_device_get_iface (device)); priv->unavailable_to_disconnected_id = g_idle_add (unavailable_to_disconnected, device); + } else { + nm_log_dbg (LOGD_DEVICE, "(%s): device not yet available for transition to DISCONNECTED", + nm_device_get_iface (device)); } break; case NM_DEVICE_STATE_ACTIVATED: