Skip to content

Commit 1751648

Browse files
cvinayakcarlescufi
authored andcommitted
Bluetooth: controller: split: Fix Enc setup reset on rejection
Fix reset of Encryption Procedure state on reception of REJECT_IND and REJECT_EXT_IND. This is a regression in commit 79cb615 ("Bluetooth: controller: split: Port Enc setup to be queueable") Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
1 parent 71d00c1 commit 1751648

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

subsys/bluetooth/controller/ll_sw/ull_conn.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3804,6 +3804,7 @@ static void reject_ext_ind_recv(struct ll_conn *conn, struct node_rx_pdu *rx,
38043804
conn->llcp_enc.pause_tx = 0U;
38053805

38063806
/* Procedure complete */
3807+
conn->llcp_ack = conn->llcp_req;
38073808
conn->procedure_expire = 0U;
38083809

38093810
/* enqueue as if it were a reject ind */
@@ -4705,8 +4706,8 @@ static inline int ctrl_rx(memq_link_t *link, struct node_rx_pdu **rx,
47054706
conn->llcp_enc.pause_tx = 0U;
47064707

47074708
/* Procedure complete */
4709+
conn->llcp_ack = conn->llcp_req;
47084710
conn->procedure_expire = 0U;
4709-
47104711
break;
47114712
#endif /* CONFIG_BT_CTLR_LE_ENC */
47124713

0 commit comments

Comments
 (0)