Diff between 49cf7c2f63f7b5824c04746447d5ee8a454f74de and 8321ce7e0484b1f691a2d25186a83a80e89b47ce
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/avrcp.c | +1 | -1 | modified |
Full Patch
diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 86939e4..7a20186 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -896,7 +896,7 @@ static uint8_t avrcp_handle_get_capabilities(struct avrcp *session,
return AVC_CTYPE_STABLE;
case CAP_EVENTS_SUPPORTED:
- for (i = 0; i <= AVRCP_EVENT_LAST; i++) {
+ for (i = 1; i <= AVRCP_EVENT_LAST; i++) {
if (session->supported_events & (1 << i)) {
pdu->params[1]++;
pdu->params[pdu->params[1] + 1] = i;