Bluetooth: Controller: Fix re-encryption procedure
During implementation of alternate encryption procedure
usable in nRF51, commited in
c41d3edda8
, re-encryption
procedure was broken. This commit fixes the issue, and
now re-encryption should work on both nRF51 and nRF52.
Change-id: Ia41200f42b1d46e1f3f35ff44b582d4ffcc5f4fa
Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
This commit is contained in:
parent
748c00b31e
commit
d62426030c
1 changed files with 1 additions and 1 deletions
|
@ -4610,7 +4610,7 @@ static inline void event_enc_prep(struct connection *conn)
|
|||
start_enc_rsp_send(conn, pdu_ctrl_tx);
|
||||
}
|
||||
/* slave send reject ind or start enc req at control priority */
|
||||
else if (!conn->pause_tx) {
|
||||
else if (!conn->pause_tx || conn->refresh) {
|
||||
/* ll ctrl packet */
|
||||
pdu_ctrl_tx->ll_id = PDU_DATA_LLID_CTRL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue