Merge branch 'bugfix/avdtp_genreal_reject_format_error' into 'master'

component_bt: Fix AVDTP general reject format error

See merge request espressif/esp-idf!17636
pull/7436/merge
Jiang Jiang Jian 2022-06-15 11:07:55 +08:00
commit 60327aeea4
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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);
/* stash sig, label, and message type in buf */
p_buf->event = 0;
AVDT_BLD_LAYERSPEC(p_buf->layer_specific, 0, p_params->hdr.label);
p_buf->event = sig_id;
AVDT_BLD_LAYERSPEC(p_buf->layer_specific, AVDT_MSG_TYPE_GRJ, p_params->hdr.label);
AVDT_TRACE_DEBUG("avdt_msg_send_grej");
/* queue message and trigger ccb to send it */