diff --git a/include/bluetooth/hci.h b/include/bluetooth/hci.h index daa5173e00e..3d511f45866 100644 --- a/include/bluetooth/hci.h +++ b/include/bluetooth/hci.h @@ -1503,6 +1503,7 @@ struct bt_hci_cp_le_set_privacy_mode { #define BT_HCI_LE_AOA_CTE 0x0 #define BT_HCI_LE_AOD_CTE_1US 0x1 #define BT_HCI_LE_AOD_CTE_2US 0x2 +#define BT_HCI_LE_NO_CTE 0xFF #define BT_HCI_LE_CTE_COUNT_MIN 0x1 #define BT_HCI_LE_CTE_COUNT_MAX 0x10 diff --git a/subsys/bluetooth/controller/hci/hci.c b/subsys/bluetooth/controller/hci/hci.c index 63caf3fcf64..0e1b971eb3e 100644 --- a/subsys/bluetooth/controller/hci/hci.c +++ b/subsys/bluetooth/controller/hci/hci.c @@ -5344,11 +5344,11 @@ static void le_per_adv_sync_report(struct pdu_data *pdu_data, struct bt_hci_evt_le_per_advertising_report *sep; int8_t tx_pwr = BT_HCI_LE_ADV_TX_POWER_NO_PREF; struct pdu_adv *adv = (void *)pdu_data; + uint8_t cte_type = BT_HCI_LE_NO_CTE; struct node_rx_pdu *node_rx_curr; struct node_rx_pdu *node_rx_next; uint8_t total_data_len = 0U; uint8_t data_status = 0U; - uint8_t cte_type = 0U; uint8_t data_len = 0U; uint8_t *data = NULL; uint8_t data_max_len;