Commit 11041108 authored by Thomas Haller's avatar Thomas Haller

device: fix crash in master_ready() logging unset priv->master

Fixes: f45f702a
parent 03f8ba49
......@@ -3272,7 +3272,7 @@ master_ready (NMDevice *self,
master = nm_active_connection_get_device (master_connection);
_LOGD (LOGD_DEVICE, "master connection ready; master device %s",
nm_device_get_iface (priv->master));
nm_device_get_iface (master));
if (priv->master && priv->master != master)
nm_device_master_release_one_slave (priv->master, self, FALSE, NM_DEVICE_STATE_REASON_CONNECTION_ASSUMED);
......
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