aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-call.c
diff options
context:
space:
mode:
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) {