Fix AVDTP general reject format error.

pull/7436/merge
xiongweichao 2022-03-29 16:28:13 +08:00 zatwierdzone przez BOT
rodzic e6c5badfe2
commit a2ea4f5bc9
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 */