Skip to content

Commit bc7e86b

Browse files
anchaojhedberg
authored andcommitted
Bluetooth: host: Unified namespace of hci event
BT_HCI_EV_LE_REMOTE_FEAT_COMPLETE -> BT_HCI_EVT_LE_REMOTE_FEAT_COMPLETE Signed-off-by: chao an <[email protected]>
1 parent 43187e2 commit bc7e86b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/bluetooth/hci.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2164,7 +2164,7 @@ struct bt_hci_evt_le_conn_update_complete {
21642164
uint16_t supv_timeout;
21652165
} __packed;
21662166

2167-
#define BT_HCI_EV_LE_REMOTE_FEAT_COMPLETE 0x04
2167+
#define BT_HCI_EVT_LE_REMOTE_FEAT_COMPLETE 0x04
21682168
struct bt_hci_evt_le_remote_feat_complete {
21692169
uint8_t status;
21702170
uint16_t handle;

subsys/bluetooth/controller/hci/hci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5774,7 +5774,7 @@ static void le_remote_feat_complete(uint8_t status, struct pdu_data *pdu_data,
57745774
return;
57755775
}
57765776

5777-
sep = meta_evt(buf, BT_HCI_EV_LE_REMOTE_FEAT_COMPLETE, sizeof(*sep));
5777+
sep = meta_evt(buf, BT_HCI_EVT_LE_REMOTE_FEAT_COMPLETE, sizeof(*sep));
57785778

57795779
sep->status = status;
57805780
sep->handle = sys_cpu_to_le16(handle);

subsys/bluetooth/host/hci_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4970,7 +4970,7 @@ static const struct event_handler meta_events[] = {
49704970
EVENT_HANDLER(BT_HCI_EVT_LE_CONN_UPDATE_COMPLETE,
49714971
le_conn_update_complete,
49724972
sizeof(struct bt_hci_evt_le_conn_update_complete)),
4973-
EVENT_HANDLER(BT_HCI_EV_LE_REMOTE_FEAT_COMPLETE,
4973+
EVENT_HANDLER(BT_HCI_EVT_LE_REMOTE_FEAT_COMPLETE,
49744974
le_remote_feat_complete,
49754975
sizeof(struct bt_hci_evt_le_remote_feat_complete)),
49764976
EVENT_HANDLER(BT_HCI_EVT_LE_CONN_PARAM_REQ, le_conn_param_req,

0 commit comments

Comments
 (0)