aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-call.c
diff options
context:
space:
mode:
authorMarco Bascetta <marco.bascetta@sadel.it>2015-05-06 16:22:03 +0200
committerAleksander Morgado <aleksander@aleksander.es>2015-08-02 10:39:47 +0200
commit3b5e43324180c0f46f0e891f94ae41a9ea241c9b (patch)
treecc4efdad4f173159475f5eb53990eaffb740da78 /cli/mmcli-call.c
parent55ae2c7f2f5729346e28425f84a28b810b33efed (diff)
mmcli: set call-start timeout to 2 minutes
Diffstat (limited to 'cli/mmcli-call.c')
-rw-r--r--cli/mmcli-call.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/mmcli-call.c b/cli/mmcli-call.c
index 8137b4fd..e8c18bdf 100644
--- a/cli/mmcli-call.c
+++ b/cli/mmcli-call.c
@@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (C) 2015 Riccardo Vangelisti <riccardo.vangelisti@sadel.it>
+ * Copyright (C) 2015 Marco Bascetta <marco.bascetta@sadel.it>
*/
#include "config.h"
@@ -310,8 +311,8 @@ mmcli_call_run_synchronous (GDBusConnection *connection)
&ctx->manager,
&ctx->object);
- /* Setup operation timeout */
- mmcli_force_operation_timeout (G_DBUS_PROXY (ctx->call));
+ /* Setup operation timeout: 2 minutes */
+ g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (ctx->call), 2 * 60 * 1000);
/* Request to get info from CALL? */
if (info_flag) {