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:
Dan Williams 2013-01-17 17:11:04 -06:00
parent a7edcfd3e2
commit e7813c0451

View file

@ -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 */