Diff between c62a395deabcc059341b0289a37bf9039c1f3062 and d2d6bc66e7c2e047e59ced4fc8de06c30aca66ab

Changed Files

File Additions Deletions Status
monitor/avctp.c +2 -2 modified

Full Patch

diff --git a/monitor/avctp.c b/monitor/avctp.c
index fe96f6d..6c2c2ca 100644
--- a/monitor/avctp.c
+++ b/monitor/avctp.c
@@ -2320,9 +2320,9 @@ static bool avrcp_get_folder_items(struct avctp_frame *avctp_frame)
 						count, count);
 
 	for (; count > 0; count--) {
-		uint16_t attr;
+		uint32_t attr;
 
-		if (!l2cap_frame_get_be16(frame, &attr))
+		if (!l2cap_frame_get_be32(frame, &attr))
 			return false;
 
 		print_field("%*cAttributeID: 0x%08x (%s)", indent, ' ',