mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-08 03:20:34 +01:00
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:
parent
d877551d0a
commit
92be78c905
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue