mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-20 07:50:52 +01:00
device: remove duplicate calls to get_generic_capabilities() during device construction
Fixes: 2236cc5eb8
This commit is contained in:
parent
fc6b8ba1bf
commit
a5fc83ad4e
1 changed files with 0 additions and 3 deletions
|
|
@ -9130,9 +9130,6 @@ constructor (GType type,
|
|||
priv->udi = g_strdup_printf ("/virtual/device/placeholder/%d", id++);
|
||||
}
|
||||
|
||||
if (NM_DEVICE_GET_CLASS (self)->get_generic_capabilities)
|
||||
priv->capabilities |= NM_DEVICE_GET_CLASS (self)->get_generic_capabilities (self);
|
||||
|
||||
if (priv->ifindex > 0) {
|
||||
priv->physical_port_id = nm_platform_link_get_physical_port_id (NM_PLATFORM_GET, priv->ifindex);
|
||||
priv->dev_id = nm_platform_link_get_dev_id (NM_PLATFORM_GET, priv->ifindex);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue