Bluetooth: Fix Set IRK Mgmt opcode to match product codeline. 35/101135/2 accepted/tizen/mobile/20161205.232636 submit/tizen/20161205.013353
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 00:50:29 +0000 (16:50 -0800)
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 322c2a7..3076519 100644 (file)
@@ -220,19 +220,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
-
 /* BEGIN TIZEN_Bluetooth :: name update changes */
 #define MGMT_EV_DEVICE_NAME_UPDATE             (TIZEN_EV_BASE + 0x01)
 struct mgmt_ev_device_name_update {