This is an automated email from the ASF dual-hosted git repository. andk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 768e18bdfcacf72707f5a72bc76bdead391163b0 Author: Andrzej Kaczmarek <[email protected]> AuthorDate: Tue Jun 30 01:18:47 2020 +0200 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. --- nimble/controller/src/ble_ll_scan.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nimble/controller/src/ble_ll_scan.c b/nimble/controller/src/ble_ll_scan.c index 2e93ba2..c17a9c8 100644 --- a/nimble/controller/src/ble_ll_scan.c +++ b/nimble/controller/src/ble_ll_scan.c @@ -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; }
