Bluetooth: Controller: df: Remove not needed if statement
Removes a if statement that was always true. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
parent
d487476f4a
commit
c9431ee622
1 changed files with 2 additions and 5 deletions
|
@ -363,12 +363,9 @@ static void lp_comm_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t
|
||||||
conn->llcp.cte_req.is_enabled = 0U;
|
conn->llcp.cte_req.is_enabled = 0U;
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx->state = LP_COMMON_STATE_IDLE;
|
|
||||||
|
|
||||||
if (ctx->state == LP_COMMON_STATE_IDLE) {
|
|
||||||
llcp_rr_set_paused_cmd(conn, PROC_NONE);
|
llcp_rr_set_paused_cmd(conn, PROC_NONE);
|
||||||
llcp_lr_complete(conn);
|
llcp_lr_complete(conn);
|
||||||
}
|
ctx->state = LP_COMMON_STATE_IDLE;
|
||||||
|
|
||||||
conn->llcp.cte_req.is_active = 0U;
|
conn->llcp.cte_req.is_active = 0U;
|
||||||
if (conn->llcp.cte_req.disable_cb) {
|
if (conn->llcp.cte_req.disable_cb) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue