Use proxy default timeout for g_dbus_proxy_call_sync 93/159793/1 accepted/tizen/unified/20171114.062830 submit/tizen/20171113.100044
authorSaurav Babu <saurav.babu@samsung.com>
Mon, 13 Nov 2017 05:15:22 +0000 (10:45 +0530)
committerSaurav Babu <saurav.babu@samsung.com>
Mon, 13 Nov 2017 05:15:22 +0000 (10:45 +0530)
Change-Id: I225b7781744096ea3380ac03ad783baf3fed7081
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
src/wmesh-gdbus.c

index 1ffacdd..2b25c5b 100755 (executable)
@@ -1314,7 +1314,7 @@ int wmesh_gdbus_mesh_remove_peer(wmesh_service *service, char *peer)
                        _gproxy_connman, WMESHD_ERROR_IO_ERROR);
 
        variant = g_dbus_proxy_call_sync(_gproxy_connman, "MeshRemovePeer",
-                               g_variant_new("(s)", peer), G_DBUS_CALL_FLAGS_NONE, 1, NULL,
+                               g_variant_new("(s)", peer), G_DBUS_CALL_FLAGS_NONE, -1, NULL,
                                &error);
        if (variant) {
                WMESH_LOGD("Successfully requested. [MeshRemovePeer]");