Bluetooth: Fix constant for public address configuration
Subsystems (2)
Marcel Holtmann
maintainerPATCH 1/1 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 <[email protected]>
--- include/net/bluetooth/mgmt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/net/bluetooth/mgmt.h +2 -1
@@ -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
Signature · 1 line
1.9.3
Johan Hedberg
AppliedHi Marcel,
Quoted 8 lines · Marcel Holtmann
The public address configuration option is value
0x02since the generic external configuration is value0x01. So adjust this accordingly and also add the value0x01to the list.Signed-off-by Marcel Holtmann <[email protected]>--- include/net/bluetooth/mgmt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Applied to bluetooth-next. Thanks.
Johan