Bluetooth: Controller: Fix to not send release message to HCI
Do not enqueue NODE_RX_TYPE_RELEASE into Auxiliary context when stopping scanner, as this type is not to be passed to HCI processing, which would lead to assertion. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
8b26752199
commit
3325aac985
|
@ -929,10 +929,10 @@ void ull_scan_aux_release(memq_link_t *link, struct node_rx_hdr *rx)
|
|||
hdr->disabled_param = aux;
|
||||
hdr->disabled_cb = done_disabled_cb;
|
||||
}
|
||||
} else {
|
||||
/* Sync terminate requested, enqueue node rx that will
|
||||
* be flushed by the disabled_cb setup by the
|
||||
* terminate.
|
||||
|
||||
} else if (!scan) {
|
||||
/* Sync terminate requested, enqueue node rx so that it
|
||||
* be flushed by ull_scan_aux_stop().
|
||||
*/
|
||||
rx->link = link;
|
||||
if (aux->rx_last) {
|
||||
|
|
Loading…
Reference in a new issue