Bluetooth: Sort list of LE features constants
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 9 Apr 2020 06:05:47 +0000 (08:05 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 15 Apr 2020 13:50:59 +0000 (16:50 +0300)
The list of LE features constants has gotten a bit confused. It lost the
order and gained duplicated. Clean this up.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci.h

index f4e8e2a0b7c15483a70aaea1e11f40acda46acd0..ff42d05b3e72854d94343a485fb6d8cb7c84ab5e 100644 (file)
@@ -460,12 +460,10 @@ enum {
 #define HCI_LE_SLAVE_FEATURES          0x08
 #define HCI_LE_PING                    0x10
 #define HCI_LE_DATA_LEN_EXT            0x20
-#define HCI_LE_PHY_2M                  0x01
-#define HCI_LE_PHY_CODED               0x08
-#define HCI_LE_EXT_ADV                 0x10
 #define HCI_LE_EXT_SCAN_POLICY         0x80
 #define HCI_LE_PHY_2M                  0x01
 #define HCI_LE_PHY_CODED               0x08
+#define HCI_LE_EXT_ADV                 0x10
 #define HCI_LE_CHAN_SEL_ALG2           0x40
 #define HCI_LE_CIS_MASTER              0x10
 #define HCI_LE_CIS_SLAVE               0x20