aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-modem-cdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/mmcli-modem-cdma.c')
-rw-r--r--cli/mmcli-modem-cdma.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/mmcli-modem-cdma.c b/cli/mmcli-modem-cdma.c
index 77df70cf..b5183462 100644
--- a/cli/mmcli-modem-cdma.c
+++ b/cli/mmcli-modem-cdma.c
@@ -162,6 +162,10 @@ get_modem_ready (GObject *source,
ctx->object = mmcli_get_modem_finish (result, &ctx->manager);
ctx->modem_cdma = mm_object_get_modem_cdma (ctx->object);
+ /* Setup operation timeout */
+ if (ctx->modem_cdma)
+ mmcli_force_operation_timeout (G_DBUS_PROXY (ctx->modem_cdma));
+
ensure_modem_cdma ();
/* Request to activate the modem? */
@@ -207,6 +211,10 @@ mmcli_modem_cdma_run_synchronous (GDBusConnection *connection)
&ctx->manager);
ctx->modem_cdma = mm_object_get_modem_cdma (ctx->object);
+ /* Setup operation timeout */
+ if (ctx->modem_cdma)
+ mmcli_force_operation_timeout (G_DBUS_PROXY (ctx->modem_cdma));
+
ensure_modem_cdma ();
/* Request to activate the modem? */