mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-18 15:09:55 +00:00
nimble/ll: Fix legacy scanning with ext adv support enabled
LL will try to unref aux_data for an ADV_EXT_IND PDU which was received while legacy scanning was active. This is not correct since such PDU does not have aux_data allocated and we'll hit an assert. We can just skip that check in LL context since ISR will mark such PDU as ignored and it can be handled properly by LL.
This commit is contained in:
@@ -3060,10 +3060,6 @@ ble_ll_scan_rx_pkt_in_on_aux(uint8_t pdu_type, struct os_mbuf *om,
|
||||
bool send_hci_report;
|
||||
int rc;
|
||||
|
||||
if (!scansm->ext_scanning) {
|
||||
goto scan_continue;
|
||||
}
|
||||
|
||||
if (aux_data) {
|
||||
aux_data->flags_ll |= aux_data->flags_isr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user