Diff between 3b8d6b19e647501133124c02350d85e5c29525cb and 67ec26fa394c16c657b40cc0991ec8ac42f2e57b
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 da2a746..29edd33 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -2250,7 +2250,7 @@ static gboolean avrcp_list_items_rsp(struct avctp *conn, uint8_t *operands,
}
items = g_slist_length(p->items);
- total = p->end - p->start;
+ total = p->end - p->start + 1;
if (items < total) {
avrcp_list_items(session, p->start + items + 1, p->end);
return FALSE;