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 <anchao@xiaomi.com>
This commit is contained in:
chao.an 2021-01-12 00:15:30 +08:00 committed by Johan Hedberg
commit bc7e86b9ec
3 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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);

View file

@ -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,