mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 22:30:11 +01:00
device: fix a typo in assertion
It is well understood that world would implode if the device was its own master.
Fixes: f45f702a5e
This commit is contained in:
parent
e29b844f42
commit
2077dee582
1 changed files with 1 additions and 1 deletions
|
|
@ -2203,7 +2203,7 @@ nm_device_master_add_slave (NMDevice *self, NMDevice *slave, gboolean configure)
|
|||
* because slave_priv->is_enslaved is not true, thus the value
|
||||
* didn't change yet. */
|
||||
} else
|
||||
g_return_if_fail (slave_priv->master == slave);
|
||||
g_return_if_fail (slave_priv->master == self);
|
||||
|
||||
nm_device_queue_recheck_assume (self);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue