broadband-modem: skip time interface sync if no time support
This commit is contained in:
@@ -11997,10 +11997,14 @@ syncing_step (GTask *task)
|
|||||||
/*
|
/*
|
||||||
* Synchronize asynchronously the Time interface.
|
* Synchronize asynchronously the Time interface.
|
||||||
*/
|
*/
|
||||||
mm_obj_info (self, "resume synchronization state (%d/%d): time interface sync",
|
if (self->priv->modem_time_dbus_skeleton) {
|
||||||
ctx->step, SYNCING_STEP_LAST);
|
mm_obj_info (self, "resume synchronization state (%d/%d): time interface sync",
|
||||||
mm_iface_modem_time_sync (MM_IFACE_MODEM_TIME (self), (GAsyncReadyCallback)iface_modem_time_sync_ready, task);
|
ctx->step, SYNCING_STEP_LAST);
|
||||||
return;
|
mm_iface_modem_time_sync (MM_IFACE_MODEM_TIME (self), (GAsyncReadyCallback)iface_modem_time_sync_ready, task);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
ctx->step++;
|
||||||
|
/* fall through */
|
||||||
|
|
||||||
case SYNCING_STEP_LAST:
|
case SYNCING_STEP_LAST:
|
||||||
mm_obj_info (self, "resume synchronization state (%d/%d): all done",
|
mm_obj_info (self, "resume synchronization state (%d/%d): all done",
|
||||||
|
Reference in New Issue
Block a user