Bluetooth: Controller: Fix HCI fragment of Extended Advertising Report
Fix HCI fragment of Extended Advertising Report when chain PDUs are received. Implementation was missing HCI event generation for last frag of each PDU when there was a next chain PDU. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
7b78c4e534
commit
fd9c89d8d0
1 changed files with 10 additions and 0 deletions
|
@ -5608,6 +5608,16 @@ static void ext_adv_data_frag(const struct node_rx_pdu *node_rx_data,
|
|||
|
||||
node_rx_data = node_rx_data->hdr.rx_ftr.extra;
|
||||
if (node_rx_data) {
|
||||
if (*data_len) {
|
||||
ext_adv_pdu_frag(evt_type, phy, *sec_phy,
|
||||
adv_addr_type, adv_addr,
|
||||
direct_addr_type, direct_addr,
|
||||
rl_idx, tx_pwr, rssi,
|
||||
interval_le16, adi,
|
||||
data_len_max, &data_len_total,
|
||||
data_len, data, buf, evt_buf);
|
||||
}
|
||||
|
||||
*data_len = ext_adv_data_get(node_rx_data, sec_phy,
|
||||
data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue