Skip to content

Commit 1b253c2

Browse files
cvinayakjhedberg
authored andcommitted
Bluetooth: controller: split: Fix slave latency during conn update
Fix regression in cancelling slave latency during Connection Update Procedure. Slave latency should not be applied between the ack of a Connection Update Indication PDU and until the instant. When caching was introduced, implementation missed this consideration. Relates to #23813. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 37c46e3 commit 1b253c2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

subsys/bluetooth/controller/ll_sw/ull_conn.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,9 +1209,10 @@ void ull_conn_done(struct node_rx_event_done *done)
12091209
#endif /* CONFIG_BT_CTLR_CONN_RSSI */
12101210

12111211
/* break latency based on ctrl procedure pending */
1212-
if ((((conn->llcp_req - conn->llcp_ack) & 0x03) == 0x02) &&
1213-
((conn->llcp_type == LLCP_CONN_UPD) ||
1214-
(conn->llcp_type == LLCP_CHAN_MAP))) {
1212+
if (((((conn->llcp_req - conn->llcp_ack) & 0x03) == 0x02) &&
1213+
((conn->llcp_type == LLCP_CONN_UPD) ||
1214+
(conn->llcp_type == LLCP_CHAN_MAP))) ||
1215+
(conn->llcp_cu.req != conn->llcp_cu.ack)) {
12151216
lll->latency_event = 0;
12161217
}
12171218

0 commit comments

Comments
 (0)