From 513517fa5c913fc6bb9e6fac32a3368dea8782b6 Mon Sep 17 00:00:00 2001 From: Zheng Huajiang Date: Mon, 22 Nov 2021 20:32:58 +0800 Subject: [PATCH] Bluetooth: Host: Fix ble event mask macro define Arrange ble event mask bits in order, according to LE Set Event Mask command parameters. Signed-off-by: Zheng Huajiang --- include/bluetooth/hci.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/bluetooth/hci.h b/include/bluetooth/hci.h index 89d7d29075a..ee1343e84fb 100644 --- a/include/bluetooth/hci.h +++ b/include/bluetooth/hci.h @@ -2670,9 +2670,9 @@ struct bt_hci_evt_le_biginfo_adv_report { #define BT_EVT_MASK_LE_ADV_SET_TERMINATED BT_EVT_BIT(17) #define BT_EVT_MASK_LE_SCAN_REQ_RECEIVED BT_EVT_BIT(18) #define BT_EVT_MASK_LE_CHAN_SEL_ALGO BT_EVT_BIT(19) -#define BT_EVT_MASK_LE_CONNECTIONLESS_IQ_REPORT BT_EVT_BIT(21) -#define BT_EVT_MASK_LE_CONNECTION_IQ_REPORT BT_EVT_BIT(22) -#define BT_EVT_MASK_LE_CTE_REQUEST_FAILED BT_EVT_BIT(23) +#define BT_EVT_MASK_LE_CONNECTIONLESS_IQ_REPORT BT_EVT_BIT(20) +#define BT_EVT_MASK_LE_CONNECTION_IQ_REPORT BT_EVT_BIT(21) +#define BT_EVT_MASK_LE_CTE_REQUEST_FAILED BT_EVT_BIT(22) #define BT_EVT_MASK_LE_PAST_RECEIVED BT_EVT_BIT(23) #define BT_EVT_MASK_LE_CIS_ESTABLISHED BT_EVT_BIT(24) #define BT_EVT_MASK_LE_CIS_REQ BT_EVT_BIT(25)