Diff between 713518331dfe0541156c9deaa988faa66d95a1a1 and 0f6a603184ad41060099af0e021319c78a6a3bb3
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/avrcp.c | +1 | -4 | modified |
Full Patch
diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 2c1434d..f440bec 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -2526,11 +2526,8 @@ static gboolean avrcp_list_items_rsp(struct avctp *conn, uint8_t *operands,
else
item = parse_media_folder(session, &operands[i], len);
- if (item) {
- if (g_slist_find(p->items, item))
- goto done;
+ if (item)
p->items = g_slist_append(p->items, item);
- }
i += len;
}