mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-11-01 10:06:11 +00:00
nimble/ll: Fix assert on aux scan
hci_ev_next was never set to NULL so in case last PDU in chain was fragmented an assert was triggered since on last chunk (i.e. completed) we expect hci_ev_next to be NULL.
This commit is contained in:
@@ -577,6 +577,7 @@ ble_ll_hci_ev_send_ext_adv_report(struct os_mbuf *rxpdu,
|
||||
ble_ll_hci_event_send(*hci_ev);
|
||||
|
||||
*hci_ev = hci_ev_next;
|
||||
hci_ev_next = NULL;
|
||||
} while ((offset < data_len) && *hci_ev);
|
||||
|
||||
return truncated ? -1 : 0;
|
||||
|
||||
Reference in New Issue
Block a user