Skip to content

Commit 73a493e

Browse files
cvinayakgalak
authored andcommitted
Bluetooth: controller: Fix missing CPR procedure reset
When connection parameter request procedure was responded by master role with Unsupported Link Layer Parameter Value, a missing reset of the connection parameter request procedure state caused next connection parameter request to be incorrectly responded with same procedure collision extended reject ind PDU. This caused an eventual connection disconnection with reason LMP response timeout. This is now fixed by reseting the state correctly. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 222bc60 commit 73a493e

File tree

1 file changed

+3
-0
lines changed
  • subsys/bluetooth/controller/ll_sw

1 file changed

+3
-0
lines changed

subsys/bluetooth/controller/ll_sw/ctrl.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5155,6 +5155,9 @@ static void mayfly_sched_win_offset_select(void *params)
51555155
/* procedure request acked */
51565156
conn->llcp_ack = conn->llcp_req;
51575157

5158+
/* CPR request acked */
5159+
conn->llcp_conn_param.ack = conn->llcp_conn_param.req;
5160+
51585161
/* reset mutex */
51595162
_radio.conn_upd = NULL;
51605163

0 commit comments

Comments
 (0)