lib: Fixing opcode definition order
authorAlain Michaud <alainm@chromium.org>
Mon, 4 May 2020 15:36:26 +0000 (15:36 +0000)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:49 +0000 (14:30 +0530)
Fixing what looks like a bad merge in the opcode order.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
lib/mgmt.h

index 7ee1b07..1346377 100644 (file)
@@ -596,15 +596,11 @@ struct mgmt_cp_set_phy_confguration {
 
 #define MGMT_OP_SET_BLOCKED_KEYS       0x0046
 
-#define MGMT_OP_READ_SECURITY_INFO     0x0048
-struct mgmt_rp_read_security_info {
-       uint16_t sec_len;
-       uint8_t  sec[0];
-} __packed;
+#define MGMT_OP_SET_WIDEBAND_SPEECH    0x0047
 
 #define HCI_BLOCKED_KEY_TYPE_LINKKEY   0x00
-#define HCI_BLOCKED_KEY_TYPE_LTK               0x01
-#define HCI_BLOCKED_KEY_TYPE_IRK               0x02
+#define HCI_BLOCKED_KEY_TYPE_LTK       0x01
+#define HCI_BLOCKED_KEY_TYPE_IRK       0x02
 
 struct mgmt_blocked_key_info {
        uint8_t type;
@@ -616,7 +612,11 @@ struct mgmt_cp_set_blocked_keys {
        struct mgmt_blocked_key_info keys[0];
 } __packed;
 
-#define MGMT_OP_SET_WIDEBAND_SPEECH    0x0047
+#define MGMT_OP_READ_SECURITY_INFO     0x0048
+struct mgmt_rp_read_security_info {
+       uint16_t sec_len;
+       uint8_t  sec[0];
+} __packed;
 
 #define MGMT_EV_CMD_COMPLETE           0x0001
 struct mgmt_ev_cmd_complete {