From: Denis Kenzior Date: Tue, 10 Sep 2013 16:25:50 +0000 (-0500) Subject: hfp_hf_bluez5: Mark Release method as NOREPLY X-Git-Tag: 1.13~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f2103a7ada1a4f5bfb7fee8e5d0ff261718ca759;p=platform%2Fupstream%2Fofono.git hfp_hf_bluez5: Mark Release method as NOREPLY --- diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c index 40d8ce0..7c1f56f 100644 --- a/plugins/hfp_hf_bluez5.c +++ b/plugins/hfp_hf_bluez5.c @@ -564,9 +564,7 @@ static DBusMessage *profile_release(DBusConnection *conn, { DBG("Profile handler Release"); - return g_dbus_create_error(msg, BLUEZ_ERROR_INTERFACE - ".NotImplemented", - "Implementation not provided"); + return NULL; } static DBusMessage *profile_cancel(DBusConnection *conn, @@ -626,7 +624,7 @@ static const GDBusMethodTable profile_methods[] = { GDBUS_ARGS({ "device", "o"}, { "fd", "h"}, { "fd_properties", "a{sv}" }), NULL, profile_new_connection) }, - { GDBUS_METHOD("Release", NULL, NULL, profile_release) }, + { GDBUS_NOREPLY_METHOD("Release", NULL, NULL, profile_release) }, { GDBUS_METHOD("Cancel", NULL, NULL, profile_cancel) }, { GDBUS_METHOD("RequestDisconnection", GDBUS_ARGS({"device", "o"}), NULL,