Hi Denis, 

On 12:57 Mon 19 Aug, Denis Kenzior wrote:
> Hi Vinicius,
> 
> On 08/15/2013 09:26 PM, Vinicius Costa Gomes wrote:
> >There's nothing we can do in this case, so we only reply with a
> >success.
> >---
> >  plugins/hfp_hf_bluez5.c | 4 +---
> >  1 file changed, 1 insertion(+), 3 deletions(-)
> >
> >diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
> >index 7e98a45..391a74e 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 dbus_message_new_method_return(msg);
> 
> To me it seems like this method is not properly labeled as NOREPLY
> inside the BlueZ API specification.  Sending a reply here seems
> pointless.

I agree. Going to fix, and send a patch to BlueZ to add that label. 

> 
> >  }
> >
> >  static DBusMessage *profile_cancel(DBusConnection *conn,
> >
> 
> Regards,
> -Denis


Cheers,
-- 
Vinicius
_______________________________________________
ofono mailing list
ofono@ofono.org
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to