diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-23 14:32:20 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-26 13:14:52 +0000 |
commit | 3afa8e6f3b241bb6858d8062d643761542a87976 (patch) | |
tree | f0b887cbc7891fabeb9239d63c1a03b5833658d5 | |
parent | 890694e0c38b9f36985f1bc4b54916078f0bb82f (diff) |
broadband-modem: skip 3GPP interface sync if no 3GPP support
-rw-r--r-- | src/mm-broadband-modem.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c index 90798cce..39b5e500 100644 --- a/src/mm-broadband-modem.c +++ b/src/mm-broadband-modem.c @@ -12019,10 +12019,14 @@ syncing_step (GTask *task) * therefore we cannot continue with the other steps until * this one is finished. */ - mm_obj_info (self, "resume synchronization state (%d/%d): 3GPP interface sync", - ctx->step, SYNCING_STEP_LAST); - mm_iface_modem_3gpp_sync (MM_IFACE_MODEM_3GPP (self), (GAsyncReadyCallback)iface_modem_3gpp_sync_ready, task); - return; + if (self->priv->modem_3gpp_dbus_skeleton) { + mm_obj_info (self, "resume synchronization state (%d/%d): 3GPP interface sync", + ctx->step, SYNCING_STEP_LAST); + mm_iface_modem_3gpp_sync (MM_IFACE_MODEM_3GPP (self), (GAsyncReadyCallback)iface_modem_3gpp_sync_ready, task); + return; + } + ctx->step++; + /* fall through */ case SYNCING_STEP_IFACE_TIME: /* |