Bluetooth: controller: refactor ull_rx_put/sched

Instead of calling both ull_rx_put and ull_rx_sched, combine into one
function

Signed-off-by: Erik Brockhoff <erbr@oticon.com>
This commit is contained in:
Erik Brockhoff 2022-11-15 09:55:33 +01:00 committed by Carles Cufí
commit 1f97652998
16 changed files with 41 additions and 61 deletions

View file

@ -2790,8 +2790,7 @@ static void tx_lll_flush(void *param)
rx->hdr.link = NULL;
/* Enqueue the terminate towards ULL context */
ull_rx_put(link, rx);
ull_rx_sched();
ull_rx_put_sched(link, rx);
}
#if defined(CONFIG_BT_CTLR_LLID_DATA_START_EMPTY)