Bluetooth: controller: ull/lll: Fix pin or key missing response
Fix the missing reset of Encryption Procedure state when the peripheral responded with error reason as pin or key missing which otherwise caused connection disconnection on next reception of data or control packet. Relates to #15570, and #15727. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
28ee240f61
commit
343937c542
1 changed files with 7 additions and 0 deletions
|
@ -4157,6 +4157,13 @@ static inline void ctrl_tx_ack(struct ll_conn *conn, struct node_tx **tx,
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case PDU_DATA_LLCTRL_TYPE_REJECT_EXT_IND:
|
||||||
|
if (pdu_tx->llctrl.reject_ext_ind.reject_opcode !=
|
||||||
|
PDU_DATA_LLCTRL_TYPE_ENC_REQ) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
/* Pass through */
|
||||||
|
|
||||||
case PDU_DATA_LLCTRL_TYPE_REJECT_IND:
|
case PDU_DATA_LLCTRL_TYPE_REJECT_IND:
|
||||||
/* resume data packet rx and tx */
|
/* resume data packet rx and tx */
|
||||||
conn->pause_rx = 0U;
|
conn->pause_rx = 0U;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue