diff options
author | Thomas Haller <thaller@redhat.com> | 2015-11-13 16:32:38 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-11-13 16:32:38 +0100 |
commit | 349e9b5d801bb7f1618ab92186970e486fd184a4 (patch) | |
tree | 9b8fb027112d024a141a89e649565c6e855c214f | |
parent | 4f7e00f0278bb724cea79e3e759091c69d38af35 (diff) | |
download | NetworkManager-349e9b5d801bb7f1618ab92186970e486fd184a4.tar.gz |
fixup! wwan: rework connection flow to send PIN earlier and fix autoconnect
-rw-r--r-- | src/devices/wwan/nm-modem-broadband.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/wwan/nm-modem-broadband.c b/src/devices/wwan/nm-modem-broadband.c index cf6e6e080a..427f3ed695 100644 --- a/src/devices/wwan/nm-modem-broadband.c +++ b/src/devices/wwan/nm-modem-broadband.c @@ -1237,7 +1237,8 @@ get_sim_ready (MMModem *modem, if (new_sim != self->priv->sim_iface) { g_clear_object (&self->priv->sim_iface); self->priv->sim_iface = new_sim; - } + } else + g_clear_object (&new_sim); if (self->priv->sim_iface) { g_object_set (G_OBJECT (self), |