mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-04 06:00:33 +01:00
core: use carrier for determining when generic devices are available
This commit is contained in:
parent
47cc8b25f2
commit
c4b121cb88
1 changed files with 0 additions and 7 deletions
|
|
@ -67,12 +67,6 @@ get_generic_capabilities (NMDevice *dev)
|
|||
return NM_DEVICE_CAP_NONE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
is_available (NMDevice *device)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
check_connection_compatible (NMDevice *device,
|
||||
NMConnection *connection,
|
||||
|
|
@ -196,7 +190,6 @@ nm_device_generic_class_init (NMDeviceGenericClass *klass)
|
|||
object_class->set_property = set_property;
|
||||
|
||||
parent_class->get_generic_capabilities = get_generic_capabilities;
|
||||
parent_class->is_available = is_available;
|
||||
parent_class->check_connection_compatible = check_connection_compatible;
|
||||
|
||||
/* properties */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue