Bluetooth: Fix Set IRK Mgmt opcode to match product codeline. 41/101341/1
authorSudha Bheemanna <b.sudha@samsung.com>
Wed, 30 Nov 2016 09:59:46 +0000 (15:29 +0530)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 1 Dec 2016 02:04:33 +0000 (11:04 +0900)
Modified the Mgmt opcode value to match the header in product code.

Change-Id: Ifcfbe313540527238950f1afbe2c33378bd4de29
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
include/net/bluetooth/mgmt_tizen.h

index 9a6d78f606447959c5e5e182de389d71b307845e..67a2a060ce909969c4c081adf34d0c2c3848debe 100644 (file)
@@ -222,19 +222,19 @@ struct mgmt_rp_le_set_data_length {
 } __packed;
 #define MGMT_LE_SET_DATA_LENGTH_RSP_SIZE               3
 
-#define MGMT_OP_SET_DEV_RPA_RES_SUPPORT                (TIZEN_OP_CODE_BASE + 0x19)
+#define MGMT_OP_SET_IRK                                (TIZEN_OP_CODE_BASE + 0x19)
+struct mgmt_cp_set_irk {
+       uint8_t irk[16];
+} __packed;
+#define MGMT_SET_IRK_SIZE                      16
+
+#define MGMT_OP_SET_DEV_RPA_RES_SUPPORT                (TIZEN_OP_CODE_BASE + 0x1a)
 struct mgmt_cp_set_dev_rpa_res_support {
        struct  mgmt_addr_info addr;
        __u8    res_support;
 } __packed;
 #define MGMT_OP_SET_DEV_RPA_RES_SUPPORT_SIZE   8
 
-#define MGMT_OP_SET_IRK                                (TIZEN_OP_CODE_BASE + 0x1A)
-struct mgmt_cp_set_irk {
-       uint8_t irk[16];
-} __packed;
-#define MGMT_SET_IRK_SIZE                      16
-
 /* EVENTS */
 
 /* For device name update changes */