mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-25 21:24:16 +08:00
AVRCP: fix missing bytes on notification
This commit is contained in:
parent
d9ae5bead2
commit
4d3bb39485
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user