mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-22 12:50:40 +02:00
trivial: move code to correct location
Clearing priv->master is a slave operation, not a master one. Move the code under the right comment.
This commit is contained in:
parent
a7edcfd3e2
commit
e7813c0451
1 changed files with 1 additions and 1 deletions
|
|
@ -3553,10 +3553,10 @@ nm_device_deactivate (NMDevice *self, NMDeviceStateReason reason)
|
|||
NM_DEVICE_GET_CLASS (self)->deactivate (self);
|
||||
|
||||
/* master: release slaves */
|
||||
g_clear_object (&priv->master);
|
||||
nm_device_master_release_slaves (self, FALSE);
|
||||
|
||||
/* slave: mark no longer enslaved */
|
||||
g_clear_object (&priv->master);
|
||||
priv->enslaved = FALSE;
|
||||
|
||||
/* Tear down an existing activation request */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue