Browse Source

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>
Marcel Holtmann 11 years ago
parent
commit
46ebeb26cd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      include/net/bluetooth/mgmt.h

+ 2 - 1
include/net/bluetooth/mgmt.h

@@ -472,7 +472,8 @@ struct mgmt_rp_read_unconf_index_list {
 	__le16	index[0];
 	__le16	index[0];
 } __packed;
 } __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_OP_READ_CONFIG_INFO	0x0037
 #define MGMT_READ_CONFIG_INFO_SIZE	0
 #define MGMT_READ_CONFIG_INFO_SIZE	0