core: log when creating Generic device when a plugin is missing

Log when a plugin is missing for link types that should have plugins.
This commit is contained in:
Dan Williams 2014-05-09 10:30:04 -05:00
parent d877551d0a
commit 92be78c905

View file

@ -2011,6 +2011,12 @@ platform_link_added (NMManager *self,
*/
break;
case NM_LINK_TYPE_OLPC_MESH:
case NM_LINK_TYPE_WIFI:
case NM_LINK_TYPE_WIMAX:
nm_log_info (LOGD_HW, "(%s): '%s' plugin not available; creating generic device",
plink->name, plink->type_name);
/* fall through */
default:
device = nm_device_generic_new (plink);
break;