Skip to content

Commit

Permalink
Bluetooth: Host: Fix compiling PAwR Sync without PAST RX
Browse files Browse the repository at this point in the history
The function `bt_hci_le_past_received_v2()` is not compiled
in for this configuration, so the reference needs to be removed.

Fixes #76268.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
(cherry picked from commit e23345b)
  • Loading branch information
rugeGerritsen authored and github-actions[bot] committed Jul 27, 2024
1 parent 36940db commit 8796a6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subsys/bluetooth/host/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2787,8 +2787,10 @@ static const struct event_handler meta_events[] = {
#if defined(CONFIG_BT_PER_ADV_SYNC_RSP)
EVENT_HANDLER(BT_HCI_EVT_LE_PER_ADVERTISING_REPORT_V2, bt_hci_le_per_adv_report_v2,
sizeof(struct bt_hci_evt_le_per_advertising_report_v2)),
#if defined(CONFIG_BT_PER_ADV_SYNC_TRANSFER_RECEIVER)
EVENT_HANDLER(BT_HCI_EVT_LE_PAST_RECEIVED_V2, bt_hci_le_past_received_v2,
sizeof(struct bt_hci_evt_le_past_received_v2)),
#endif /* CONFIG_BT_PER_ADV_SYNC_TRANSFER_RECEIVER */
EVENT_HANDLER(BT_HCI_EVT_LE_PER_ADV_SYNC_ESTABLISHED_V2,
bt_hci_le_per_adv_sync_established_v2,
sizeof(struct bt_hci_evt_le_per_adv_sync_established_v2)),
Expand Down

0 comments on commit 8796a6f

Please sign in to comment.