nm-device-factory: remove ifname check as it prevents activating OVS connections

(cherry picked from commit 0cac094c93)
This commit is contained in:
Antonio Cardace 2020-02-06 17:01:44 +01:00
parent e52fccb0d0
commit 816aacc4c2

View file

@ -143,14 +143,6 @@ nm_device_factory_get_connection_iface (NMDeviceFactory *factory,
return NULL;
}
if (!nm_utils_is_valid_iface_name (ifname, error)) {
g_prefix_error (error,
"failed to determine interface name: name \"%s\" is invalid",
ifname);
g_free (ifname);
return NULL;
}
return ifname;
}