diff options
-rw-r--r-- | src/devices/wwan/nm-modem-broadband.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/wwan/nm-modem-broadband.c b/src/devices/wwan/nm-modem-broadband.c index eb5b21aa7e..a1ae867128 100644 --- a/src/devices/wwan/nm-modem-broadband.c +++ b/src/devices/wwan/nm-modem-broadband.c @@ -587,6 +587,9 @@ connect_context_step (NMModemBroadband *self) if (!try_create_connect_properties (self)) break; + if (!self->_priv.ctx) + break; + /* Build up list of IP types that we need to use in the retries */ ctx->ip_types = nm_modem_get_connection_ip_type (NM_MODEM (self), ctx->connection, &error); if (!ctx->ip_types) { |