Commit 2077dee5 authored by Lubomir Rintel's avatar Lubomir Rintel

device: fix a typo in assertion

It is well understood that world would implode if the device was its own master.

Fixes: f45f702a
parent e29b844f
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment