aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-09 14:27:38 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-13 17:01:36 +0200
commit88c3df13ca06718e5a8f509ae9cbb1228c10d537 (patch)
tree89bd9706f5c1924174b9284239510a3f0de2ebc2 /include/net/bluetooth/mgmt.h
parentBluetooth: Update and rename mgmt_remove_keys to mgmt_unpair_device (diff)
downloadlinux-dev-88c3df13ca06718e5a8f509ae9cbb1228c10d537.tar.xz
linux-dev-88c3df13ca06718e5a8f509ae9cbb1228c10d537.zip
Bluetooth: Update mgmt_disconnect to match latest API
This patch adds an address type parameter to the disconnect command and response in order to match the latest mgmt API specification. 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 4c18cd5fb8c1..735e547e3448 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -177,10 +177,10 @@ struct mgmt_cp_load_long_term_keys {
#define MGMT_OP_DISCONNECT 0x0014
struct mgmt_cp_disconnect {
- bdaddr_t bdaddr;
+ struct mgmt_addr_info addr;
} __packed;
struct mgmt_rp_disconnect {
- bdaddr_t bdaddr;
+ struct mgmt_addr_info addr;
__u8 status;
} __packed;