From f2103a7ada1a4f5bfb7fee8e5d0ff261718ca759 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 10 Sep 2013 11:25:50 -0500 Subject: hfp_hf_bluez5: Mark Release method as NOREPLY --- plugins/hfp_hf_bluez5.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins') diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c index 40d8ce01..7c1f56f7 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, -- cgit v1.2.3