From: Saurav Babu Date: Mon, 13 Nov 2017 05:15:22 +0000 (+0530) Subject: Use proxy default timeout for g_dbus_proxy_call_sync X-Git-Tag: accepted/tizen/unified/20171114.062830^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bec9423c4d574fa6908c558475396b3394a648b8;p=platform%2Fcore%2Fconnectivity%2Fwifi-mesh-manager.git Use proxy default timeout for g_dbus_proxy_call_sync Change-Id: I225b7781744096ea3380ac03ad783baf3fed7081 Signed-off-by: Saurav Babu --- diff --git a/src/wmesh-gdbus.c b/src/wmesh-gdbus.c index 1ffacdd..2b25c5b 100755 --- a/src/wmesh-gdbus.c +++ b/src/wmesh-gdbus.c @@ -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]");