summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2016-10-25 09:39:17 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-11-15 17:41:58 -0800
commit680e4fff2bfcc5ec09b9e58d172d3182348cdca7 (patch)
treee5bd06260f3b45903167a03952b7dbab0c888f5d
parentb3bc41c2fee610151f838d720f8538950a16f342 (diff)
downloadchrome-ec-680e4fff2bfcc5ec09b9e58d172d3182348cdca7.tar.gz
include/btle_hcl_int.h: Fix misspellings in #defines and struct name
These are not used anywhere else in the EC codebase. Fix VERSION, OCCURRED, Response, & Supported BUG=None BRANCH=None TEST=make buildall passes Change-Id: I078a8b613fffac0029723cf3c8a5666e71d4a9ac Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/403420 Reviewed-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-by: Myles Watson <mylesgw@chromium.org>
-rw-r--r--include/btle_hci_int.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/btle_hci_int.h b/include/btle_hci_int.h
index 839d72770c..32349eff61 100644
--- a/include/btle_hci_int.h
+++ b/include/btle_hci_int.h
@@ -271,10 +271,10 @@
#define HCI_EVENT_CHANGE_CONN_LINK_KEY_COMPLETE 0x0000000000000100ULL /* BT 1.1+ */
#define HCI_EVENT_MASTER_LINK_KEY_COMPLETE 0x0000000000000200ULL /* BT 1.1+ */
#define HCI_EVENT_READ_REMOTE_SUPPORTED_FEATURES_COMPLETE 0x0000000000000400ULL /* BT 1.1+ */
-#define HCI_EVENT_READ_REMOTE_VERSON_INFO_COMPLETE 0x0000000000000800ULL /* BT 1.1+ */
+#define HCI_EVENT_READ_REMOTE_VERSION_INFO_COMPLETE 0x0000000000000800ULL /* BT 1.1+ */
#define HCI_EVENT_QOS_SETUP_COMPLETE 0x0000000000001000ULL /* BT 1.1+ */
#define HCI_EVENT_HARDWARE_ERROR 0x0000000000008000ULL /* BT 1.1+ */
-#define HCI_EVENT_FLUSH_OCCURED 0x0000000000010000ULL /* BT 1.1+ */
+#define HCI_EVENT_FLUSH_OCCURRED 0x0000000000010000ULL /* BT 1.1+ */
#define HCI_EVENT_ROLE_CHANGE 0x0000000000020000ULL /* BT 1.1+ */
#define HCI_EVENT_MODE_CHANGE 0x0000000000080000ULL /* BT 1.1+ */
#define HCI_EVENT_RETURN_LINK_KEYS 0x0000000000100000ULL /* BT 1.1+ */
@@ -1476,7 +1476,7 @@ struct hciCmplWriteAfhChannelAssessment {
/* ==== BT 2.1 ==== */
-#define HCI_CMD_Read_Extended_Inquiry_Reponse 0x0051 /* complete */
+#define HCI_CMD_Read_Extended_Inquiry_Response 0x0051 /* complete */
struct hciCmplReadEIR {
uint8_t status;
uint8_t useFec;
@@ -1976,7 +1976,7 @@ struct hciCmplReadDataBlockSize {
/* ==== BT 4.1 ==== */
-#define HCI_CMD_Read_Local_Suported_Codecs 0x000B /* complete */
+#define HCI_CMD_Read_Local_Supported_Codecs 0x000B /* complete */
struct hciCmplReadLocalSupportedCodecs {
uint8_t status;
uint8_t numSupportedCodecs;
@@ -2564,8 +2564,8 @@ struct hciEvtHwError {
uint8_t errCode;
} __packed;
-#define HCI_EVT_Flush_Occured 0x11
-struct hciEvtFlushOccured {
+#define HCI_EVT_Flush_Occurred 0x11
+struct hciEvtFlushOccurred {
uint16_t conn;
} __packed;