From: Marcel Holtmann Date: Fri, 4 Jul 2014 11:23:38 +0000 (+0200) Subject: Bluetooth: Fix constant for public address configuration X-Git-Tag: v3.17-rc1~106^2~12^2~41^2~139 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=46ebeb26cd976b9902d074c9a51f091a5744f9f3;p=platform%2Fkernel%2Flinux-exynos.git Bluetooth: Fix constant for public address configuration The public address configuration option is value 0x02 since the generic external configuration is value 0x01. So adjust this accordingly and also add the value 0x01 to the list. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 0579eb3..3984678 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h @@ -472,7 +472,8 @@ struct mgmt_rp_read_unconf_index_list { __le16 index[0]; } __packed; -#define MGMT_OPTION_PUBLIC_ADDRESS 0x00000001 +#define MGMT_OPTION_EXTERNAL_CONFIG 0x00000001 +#define MGMT_OPTION_PUBLIC_ADDRESS 0x00000002 #define MGMT_OP_READ_CONFIG_INFO 0x0037 #define MGMT_READ_CONFIG_INFO_SIZE 0