Skip to content

Commit 75d73f0

Browse files
committed
Bluetooth: Controller: Fix stuck forced continuation under throughput
Fix stuck forced continuation of connection event under high throughput scenario. At near supervision timeout the force flag is set, but in the next connection event if full connection interval is used for data transmission and a subsequent request to abort happens it was not honoured causing the tx-rx chain to keep continuing until supervision timeout. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
1 parent e3ed029 commit 75d73f0

File tree

1 file changed

+2
-2
lines changed
  • subsys/bluetooth/controller/ll_sw/nordic/lll

1 file changed

+2
-2
lines changed

subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ int lll_conn_central_is_abort_cb(void *next, void *curr,
166166
struct lll_conn *lll = curr;
167167

168168
/* Do not abort if near supervision timeout */
169-
if (lll->forced) {
169+
if ((lll->forced == 1U) && (trx_cnt < 1U)) {
170170
return 0;
171171
}
172172

@@ -188,7 +188,7 @@ int lll_conn_peripheral_is_abort_cb(void *next, void *curr,
188188
struct lll_conn *lll = curr;
189189

190190
/* Do not abort if near supervision timeout */
191-
if (lll->forced) {
191+
if ((lll->forced == 1U) && (tx_cnt < 1U)) {
192192
return 0;
193193
}
194194

0 commit comments

Comments
 (0)