diff mbox series

[Bluez,v1] audio/avrcp: Fix media player passthrough bitmask

Message ID 20200512180104.Bluez.v1.1.Idd38f20f6ff4fc0b295a0a4a8655079373216933@changeid
State New
Headers show
Series [Bluez,v1] audio/avrcp: Fix media player passthrough bitmask | expand

Commit Message

Archie Pusaka May 12, 2020, 10:02 a.m. UTC
From: Archie Pusaka <apusaka@chromium.org>

Adjust the values of the passthrough bitmask with the declared
keys in avctp.c:key_map, according to section 6.10.2.1 of the
AVRCP specification.
---

 profiles/audio/avrcp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 773ccdb60..d93cfdb38 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -298,8 +298,8 @@  static unsigned int avctp_id = 0;
 
 /* Default feature bit mask for media player as per avctp.c:key_map */
 static const uint8_t features[16] = {
-				0xF8, 0xBF, 0xFF, 0xBF, 0x1F,
-				0xFB, 0x3F, 0x60, 0x00, 0x00,
+				0xF1, 0xAF, 0xFF, 0xBB, 0x3F,
+				0xFB, 0x9F, 0x60, 0x00, 0x00,
 				0x00, 0x00, 0x00, 0x00, 0x00,
 				0x00 };