diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index bacbfb33e1..a085e466d0 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -12030,7 +12030,8 @@ nm_device_has_pending_action (NMDevice *self) if (priv->pending_actions) return TRUE; - if (nm_device_get_unmanaged_flags (self, NM_UNMANAGED_PLATFORM_INIT)) { + if ( nm_device_is_real (self) + && nm_device_get_unmanaged_flags (self, NM_UNMANAGED_PLATFORM_INIT)) { /* as long as the platform link is not yet initialized, we have a pending * action. */ return TRUE;