diff options
author | Antonio Cardace <acardace@redhat.com> | 2021-01-19 18:38:57 +0100 |
---|---|---|
committer | Antonio Cardace <acardace@redhat.com> | 2021-02-02 09:51:57 +0100 |
commit | 6ddfee37516156882c8f322b0488f60cbe87bca3 (patch) | |
tree | c60b51160e8d32ee66811f2f7a6136d21056ec82 | |
parent | 3f4765f30e271d5abadded2a0beedd8a5d742aac (diff) | |
download | NetworkManager-6ddfee37516156882c8f322b0488f60cbe87bca3.tar.gz |
device: make 'nm_device_master_release_slaves' internal API
https://bugzilla.redhat.com/show_bug.cgi?id=1870691
Signed-off-by: Antonio Cardace <acardace@redhat.com>
-rw-r--r-- | src/devices/nm-device-private.h | 2 | ||||
-rw-r--r-- | src/devices/nm-device.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/nm-device-private.h b/src/devices/nm-device-private.h index b165a549a8..8675a699a3 100644 --- a/src/devices/nm-device-private.h +++ b/src/devices/nm-device-private.h @@ -127,6 +127,8 @@ void nm_device_recheck_available_connections(NMDevice *device); void nm_device_master_check_slave_physical_port(NMDevice *self, NMDevice *slave, NMLogDomain log_domain); +void nm_device_master_release_slaves(NMDevice *self); + void nm_device_set_carrier(NMDevice *self, gboolean carrier); void nm_device_queue_recheck_assume(NMDevice *device); diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 574f8c6476..a45b6b9e04 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -6488,7 +6488,7 @@ nm_device_master_check_slave_physical_port(NMDevice *self, NMDevice *slave, NMLo } /* release all slaves */ -static void +void nm_device_master_release_slaves(NMDevice *self) { NMDevicePrivate * priv = NM_DEVICE_GET_PRIVATE(self); |