platform: treat dsa devices as regular wired ethernet

https://bugzilla.redhat.com/show_bug.cgi?id=1371289
This commit is contained in:
Lubomir Rintel 2017-10-05 22:35:25 +02:00
parent 71b5cc3682
commit 5c2ee8b26e

View file

@ -826,6 +826,10 @@ _linktype_get_type (NMPlatform *platform,
* aside from the DEVTYPE. */
if (!g_strcmp0 (devtype, "gadget"))
return NM_LINK_TYPE_ETHERNET;
/* Distributed Switch Architecture switch chips */
if (!g_strcmp0 (devtype, "dsa"))
return NM_LINK_TYPE_ETHERNET;
}
}