From: Lubomir Rintel Date: Wed, 23 Mar 2016 13:51:53 +0000 (+0100) Subject: device: delay the activation if the backing device is not yet there X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=NetworkManager.git;a=commitdiff_plain;h=ce745e098a469900912353e8226aacd6253a5a42 device: delay the activation if the backing device is not yet there --- diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 19c15992d..4f92ec1f2 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -7735,7 +7735,7 @@ nm_device_queue_activation (NMDevice *self, NMActRequest *req) must_queue = _carrier_wait_check_act_request_must_queue (self, req); - if (!priv->act_request && !must_queue) { + if (!priv->act_request && !must_queue && nm_device_is_real (self)) { /* Just activate immediately */ if (!_device_activate (self, req)) g_assert_not_reached ();