core: fix device log message in UNAVAILABLE state

This commit is contained in:
Dan Williams
2010-04-08 15:51:54 -07:00
parent 3592e59cab
commit c57c40a621

View File

@@ -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: