Merge branch 'bugfix/avdtp_genreal_reject_format_error_v4.1' into 'release/v4.1'

component_bt: Fix AVDTP general reject format error(v4.1)

See merge request espressif/esp-idf!18559
This commit is contained in:
Jiang Jiang Jian 2022-06-21 20:54:22 +08:00
commit 459487b04a

View File

@ -1586,8 +1586,8 @@ void avdt_msg_send_grej(tAVDT_CCB *p_ccb, UINT8 sig_id, tAVDT_MSG *p_params)
p_buf->len = (UINT16) (p - p_start); p_buf->len = (UINT16) (p - p_start);
/* stash sig, label, and message type in buf */ /* stash sig, label, and message type in buf */
p_buf->event = 0; p_buf->event = sig_id;
AVDT_BLD_LAYERSPEC(p_buf->layer_specific, 0, p_params->hdr.label); AVDT_BLD_LAYERSPEC(p_buf->layer_specific, AVDT_MSG_TYPE_GRJ, p_params->hdr.label);
AVDT_TRACE_DEBUG("avdt_msg_send_grej"); AVDT_TRACE_DEBUG("avdt_msg_send_grej");
/* queue message and trigger ccb to send it */ /* queue message and trigger ccb to send it */