Bluetooth: Controller: Remove redundant extra list release
Periodic Advertising Synchronization Reports do not use a list for the received chain PDUs, remove the stale code that free extra list. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
079e7976fe
commit
6c8ff338b8
1 changed files with 0 additions and 5 deletions
|
@ -6156,7 +6156,6 @@ static void le_per_adv_sync_report(struct pdu_data *pdu_data,
|
||||||
if (!(event_mask & BT_EVT_MASK_LE_META_EVENT) ||
|
if (!(event_mask & BT_EVT_MASK_LE_META_EVENT) ||
|
||||||
(!(le_event_mask & BT_EVT_MASK_LE_PER_ADVERTISING_REPORT) &&
|
(!(le_event_mask & BT_EVT_MASK_LE_PER_ADVERTISING_REPORT) &&
|
||||||
!(le_event_mask & BT_EVT_MASK_LE_BIGINFO_ADV_REPORT))) {
|
!(le_event_mask & BT_EVT_MASK_LE_BIGINFO_ADV_REPORT))) {
|
||||||
node_rx_extra_list_release(node_rx->hdr.rx_ftr.extra);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6228,10 +6227,6 @@ static void le_per_adv_sync_report(struct pdu_data *pdu_data,
|
||||||
|
|
||||||
aux_ptr = (void *)ptr;
|
aux_ptr = (void *)ptr;
|
||||||
if (aux_ptr->phy > EXT_ADV_AUX_PHY_LE_CODED) {
|
if (aux_ptr->phy > EXT_ADV_AUX_PHY_LE_CODED) {
|
||||||
struct node_rx_ftr *ftr;
|
|
||||||
|
|
||||||
ftr = &node_rx->hdr.rx_ftr;
|
|
||||||
node_rx_extra_list_release(ftr->extra);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue