Bluetooth: Controller: Fix extended scan rx flush for continous scan

Fix missing progression of the rx_last pointer when
appending rx buffers before flushing them towards Host.
Under continuous scanning, as the disabled_cb would only
be called when reference count reaches zero, the rx_last
pointer needs to progress when appending the rx buffers.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2021-12-13 21:30:08 +05:30 committed by Carles Cufí
parent 5f4d6e34bc
commit 79e3be3c63

View file

@ -658,6 +658,7 @@ ull_scan_aux_rx_flush:
*/
if (!IS_ENABLED(CONFIG_BT_CTLR_SYNC_PERIODIC) || aux->rx_last) {
aux->rx_last->rx_ftr.extra = rx;
aux->rx_last = rx;
} else {
LL_ASSERT(sync_lll);