diff --git a/include/bluetooth/hci.h b/include/bluetooth/hci.h index 6db6cf12003..4433f64dfc9 100644 --- a/include/bluetooth/hci.h +++ b/include/bluetooth/hci.h @@ -2164,7 +2164,7 @@ struct bt_hci_evt_le_conn_update_complete { uint16_t supv_timeout; } __packed; -#define BT_HCI_EV_LE_REMOTE_FEAT_COMPLETE 0x04 +#define BT_HCI_EVT_LE_REMOTE_FEAT_COMPLETE 0x04 struct bt_hci_evt_le_remote_feat_complete { uint8_t status; uint16_t handle; diff --git a/subsys/bluetooth/controller/hci/hci.c b/subsys/bluetooth/controller/hci/hci.c index 2e67975716f..404c5d19a87 100644 --- a/subsys/bluetooth/controller/hci/hci.c +++ b/subsys/bluetooth/controller/hci/hci.c @@ -5774,7 +5774,7 @@ static void le_remote_feat_complete(uint8_t status, struct pdu_data *pdu_data, return; } - sep = meta_evt(buf, BT_HCI_EV_LE_REMOTE_FEAT_COMPLETE, sizeof(*sep)); + sep = meta_evt(buf, BT_HCI_EVT_LE_REMOTE_FEAT_COMPLETE, sizeof(*sep)); sep->status = status; sep->handle = sys_cpu_to_le16(handle); diff --git a/subsys/bluetooth/host/hci_core.c b/subsys/bluetooth/host/hci_core.c index 81fa8b47175..f0ec7c3f1d6 100644 --- a/subsys/bluetooth/host/hci_core.c +++ b/subsys/bluetooth/host/hci_core.c @@ -4970,7 +4970,7 @@ static const struct event_handler meta_events[] = { EVENT_HANDLER(BT_HCI_EVT_LE_CONN_UPDATE_COMPLETE, le_conn_update_complete, sizeof(struct bt_hci_evt_le_conn_update_complete)), - EVENT_HANDLER(BT_HCI_EV_LE_REMOTE_FEAT_COMPLETE, + EVENT_HANDLER(BT_HCI_EVT_LE_REMOTE_FEAT_COMPLETE, le_remote_feat_complete, sizeof(struct bt_hci_evt_le_remote_feat_complete)), EVENT_HANDLER(BT_HCI_EVT_LE_CONN_PARAM_REQ, le_conn_param_req,