summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudha Bheemanna <b.sudha@samsung.com>2016-11-30 15:29:46 +0530
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-01 11:04:33 +0900
commita4f1b6284ff56e8ac976dafe18fc20e20a48c14b (patch)
tree9fcc6d9a9dfce17bc829d41321d97b5fea8fd6de
parent4119f2cdcf8ee06fd3b638034e6e9e8acfd0356c (diff)
downloadlinux-exynos-a4f1b6284ff56e8ac976dafe18fc20e20a48c14b.tar.gz
linux-exynos-a4f1b6284ff56e8ac976dafe18fc20e20a48c14b.tar.bz2
linux-exynos-a4f1b6284ff56e8ac976dafe18fc20e20a48c14b.zip
Bluetooth: Fix Set IRK Mgmt opcode to match product codeline.
Modified the Mgmt opcode value to match the header in product code. Change-Id: Ifcfbe313540527238950f1afbe2c33378bd4de29 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
-rw-r--r--include/net/bluetooth/mgmt_tizen.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/net/bluetooth/mgmt_tizen.h b/include/net/bluetooth/mgmt_tizen.h
index 9a6d78f60644..67a2a060ce90 100644
--- a/include/net/bluetooth/mgmt_tizen.h
+++ b/include/net/bluetooth/mgmt_tizen.h
@@ -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 */