avrcp_target: allow for interim response

This commit is contained in:
Milanka Ringwald 2025-01-24 12:26:35 +01:00
parent 4f29390289
commit 698b7747d7

View File

@ -1300,7 +1300,7 @@ static void avrcp_handle_l2cap_data_packet_for_signaling_connection(avrcp_connec
}
case AVRCP_PDU_ID_REGISTER_NOTIFICATION:{
if (length != 1){
if (length < 1){
avrcp_target_response_vendor_dependent_reject(connection, pdu_id, AVRCP_STATUS_PARAMETER_CONTENT_ERROR);
return;
}