Bluetooth: Controller: df: refactor CTE REQ set disable
Add a function that is responsible for set CTE request disabled. It is a refactoring, to have a single place where CTE request is_enabled and req_interval are zeroed. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
parent
1856c6b23e
commit
f79f9d155d
4 changed files with 13 additions and 2 deletions
|
@ -355,6 +355,7 @@ static void lp_comm_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t
|
|||
} else {
|
||||
conn->llcp.cte_req.is_enabled = 0U;
|
||||
lp_comm_ntf(conn, ctx);
|
||||
ull_cp_cte_req_set_disable(conn);
|
||||
}
|
||||
} else if (ctx->response_opcode == PDU_DATA_LLCTRL_TYPE_REJECT_EXT_IND &&
|
||||
ctx->reject_ext_ind.reject_opcode == PDU_DATA_LLCTRL_TYPE_CTE_REQ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue