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:
Piotr Pryga 2022-01-28 22:36:56 +01:00 committed by Carles Cufí
commit c9431ee622

View file

@ -363,13 +363,10 @@ static void lp_comm_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t
conn->llcp.cte_req.is_enabled = 0U;
}
llcp_rr_set_paused_cmd(conn, PROC_NONE);
llcp_lr_complete(conn);
ctx->state = LP_COMMON_STATE_IDLE;
if (ctx->state == LP_COMMON_STATE_IDLE) {
llcp_rr_set_paused_cmd(conn, PROC_NONE);
llcp_lr_complete(conn);
}
conn->llcp.cte_req.is_active = 0U;
if (conn->llcp.cte_req.disable_cb) {
conn->llcp.cte_req.disable_cb(conn->llcp.cte_req.disable_param);