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 79cb615770
("Bluetooth:
controller: split: Port Enc setup to be queueable")
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
71d00c1bf8
commit
1751648db0
1 changed files with 2 additions and 1 deletions
|
@ -3804,6 +3804,7 @@ static void reject_ext_ind_recv(struct ll_conn *conn, struct node_rx_pdu *rx,
|
|||
conn->llcp_enc.pause_tx = 0U;
|
||||
|
||||
/* Procedure complete */
|
||||
conn->llcp_ack = conn->llcp_req;
|
||||
conn->procedure_expire = 0U;
|
||||
|
||||
/* 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,
|
|||
conn->llcp_enc.pause_tx = 0U;
|
||||
|
||||
/* Procedure complete */
|
||||
conn->llcp_ack = conn->llcp_req;
|
||||
conn->procedure_expire = 0U;
|
||||
|
||||
break;
|
||||
#endif /* CONFIG_BT_CTLR_LE_ENC */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue