summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nm-manager.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c
index 5744a8cdc9..079459d446 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -1887,6 +1887,11 @@ platform_link_added (NMManager *self,
/* fall through */
default:
device = nm_device_generic_new (plink);
+ if (!nm_device_realize (device, plink, &error)) {
+ nm_log_warn (LOGD_HW, "%s: failed to initialize generic device: %s",
+ plink->name, error->message);
+ g_clear_error (&error);
+ }
break;
}
}