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:
parent
c50b474e01
commit
569cdaa58d
3 changed files with 11 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue