Bluetooth: Fix constant for public address configuration
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 4 Jul 2014 11:23:38 +0000 (13:23 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 4 Jul 2014 11:59:09 +0000 (14:59 +0300)
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>
include/net/bluetooth/mgmt.h

index 0579eb3952e30f4cc92e68d42027839c5342992c..3984678ffab1cd5fa7a21a17401adf22299089fd 100644 (file)
@@ -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