From e8ad6d132a18295744befd891189849bf5a62a32 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 11 Mar 2021 13:50:24 +0100 Subject: [PATCH] avrcp_target: fix command handling (regression from 9970238) --- src/classic/avrcp_target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classic/avrcp_target.c b/src/classic/avrcp_target.c index a7a7363e7..3ecb9619c 100644 --- a/src/classic/avrcp_target.c +++ b/src/classic/avrcp_target.c @@ -780,7 +780,7 @@ static void avrcp_handle_l2cap_data_packet_for_signaling_connection(avrcp_connec avrcp_command_opcode_t opcode = (avrcp_command_opcode_t) avrcp_cmd_opcode(packet,size); - int pos = 4; + int pos = 6; uint16_t length; avrcp_pdu_id_t pdu_id; connection->cmd_operands_length = 0;