Bluetooth: Controller: llcp: setting of CTE related content in pdu_data

The llcp_pdu_encode_cte_rsp functio didn't set pdu_data fields related
with CTE transmission. The commit fixes that.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
Piotr Pryga 2022-01-04 09:18:14 +01:00 committed by Christopher Friedt
commit 569cdaa58d
3 changed files with 11 additions and 4 deletions

View file

@ -758,7 +758,7 @@ static void rp_comm_tx(struct ll_conn *conn, struct proc_ctx *ctx)
}
if (!err_code) {
llcp_pdu_encode_cte_rsp(pdu);
llcp_pdu_encode_cte_rsp(conn, pdu);
ctx->rx_opcode = PDU_DATA_LLCTRL_TYPE_CTE_RSP;
} else {
llcp_pdu_encode_reject_ext_ind(pdu, PDU_DATA_LLCTRL_TYPE_CTE_REQ, err_code);