aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-07-04 07:23:38 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2014-07-04 07:59:09 -0400
commit46ebeb26cd976b9902d074c9a51f091a5744f9f3 (patch)
treedb7b5a296d37cdeb1169ad5b77413d7372f5d35a /include/net/bluetooth
parenta7545f2afcfc49fd5341fe51e943064eefe20ea1 (diff)
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 <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/mgmt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 0579eb3952e3..3984678ffab1 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -472,7 +472,8 @@ struct mgmt_rp_read_unconf_index_list {
472 __le16 index[0]; 472 __le16 index[0];
473} __packed; 473} __packed;
474 474
475#define MGMT_OPTION_PUBLIC_ADDRESS 0x00000001 475#define MGMT_OPTION_EXTERNAL_CONFIG 0x00000001
476#define MGMT_OPTION_PUBLIC_ADDRESS 0x00000002
476 477
477#define MGMT_OP_READ_CONFIG_INFO 0x0037 478#define MGMT_OP_READ_CONFIG_INFO 0x0037
478#define MGMT_READ_CONFIG_INFO_SIZE 0 479#define MGMT_READ_CONFIG_INFO_SIZE 0