diff options
Diffstat (limited to 'cli/mmcli-modem-simple.c')
-rw-r--r-- | cli/mmcli-modem-simple.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/mmcli-modem-simple.c b/cli/mmcli-modem-simple.c index 174f144b..c4d37b5d 100644 --- a/cli/mmcli-modem-simple.c +++ b/cli/mmcli-modem-simple.c @@ -210,6 +210,9 @@ get_modem_ready (GObject *source, g_debug ("Asynchronously connecting the modem..."); + /* Setup operation timeout: 2 minutes (to match MM internal timeout) */ + g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (ctx->modem_simple), 2 * 60 * 1000); + properties = mm_simple_connect_properties_new_from_string (connect_str, &error); if (!properties) { g_printerr ("Error parsing connect string: '%s'\n", error->message); |