summaryrefslogtreecommitdiffstats
path: root/plugins/hfp_hf_bluez5.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/hfp_hf_bluez5.c')
-rw-r--r--plugins/hfp_hf_bluez5.c6
1 files changed, 2 insertions, 4 deletions
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,