aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-17 14:27:06 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-17 14:39:16 +0200
commita198e7b100b26dd6ac0240487ca37bad0f53e3e6 (patch)
tree9389498822eda64c2f1a6bc71093572fadb658cb /include/net/bluetooth/mgmt.h
parentBluetooth: mgmt: Add address type to PIN code messages (diff)
downloadlinux-dev-a198e7b100b26dd6ac0240487ca37bad0f53e3e6.tar.xz
linux-dev-a198e7b100b26dd6ac0240487ca37bad0f53e3e6.zip
Bluetooth: mgmt: Add address type to confirm name command
The latest mgmt API includes an address type for all messages containing an address. This patch updates the confirm name command to match this. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r--include/net/bluetooth/mgmt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index eb584cc287d6..14c1816cac67 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -296,11 +296,11 @@ struct mgmt_cp_start_discovery {
#define MGMT_OP_CONFIRM_NAME 0x0025
struct mgmt_cp_confirm_name {
- bdaddr_t bdaddr;
+ struct mgmt_addr_info addr;
__u8 name_known;
} __packed;
struct mgmt_rp_confirm_name {
- bdaddr_t bdaddr;
+ struct mgmt_addr_info addr;
__u8 status;
} __packed;