diff options
author | Denis Kenzior <denkenz@gmail.com> | 2013-09-10 11:25:50 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2013-09-12 13:17:39 -0500 |
commit | f2103a7ada1a4f5bfb7fee8e5d0ff261718ca759 (patch) | |
tree | 84c1ced4590e84b323b3746b9756c3114a20389a /plugins | |
parent | a8e4073d0e19e05a597768a83d8e566012532138 (diff) | |
download | ofono-f2103a7ada1a4f5bfb7fee8e5d0ff261718ca759.tar.bz2 |
hfp_hf_bluez5: Mark Release method as NOREPLY
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/hfp_hf_bluez5.c | 6 |
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, |