Thread (14 messages) flat view 14 messages, 3 authors, 2011-10-03

Re: [PATCH 2/3] AVRCP: fix missing bytes on notification

From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2011-09-29 19:18:23

Hi Lucas,

On Thu, Sep 29, 2011 at 8:07 PM, Lucas De Marchi
[off-list ref] wrote:
quoted hunk ↗ jump to hunk
---
 audio/avrcp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/audio/avrcp.c b/audio/avrcp.c
index e5b51db..6e8b8ff 100644
--- a/audio/avrcp.c
+++ b/audio/avrcp.c
@@ -591,7 +591,7 @@ static int avrcp_send_event(struct media_player *mp, uint8_t id, void *data)
       err = avctp_send_vendordep(mp->session, mp->transaction_events[id],
                                       AVC_CTYPE_CHANGED, AVC_SUBUNIT_PANEL,
-                                       buf, size);
+                                       buf, size + AVRCP_HEADER_LENGTH);
       if (err < 0)
               return err;

--
1.7.6.4
Ack.

-- 
Luiz Augusto von Dentz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help