Diff between 67ec26fa394c16c657b40cc0991ec8ac42f2e57b and 99f16dc7625705707139bf943bef44cd895223b3

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