summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorJohan Hedberg2011-11-10 14:54:39 +0100
committerGustavo F. Padovan2011-11-10 21:05:41 +0100
commit37d9ef76c26092098e8fbd3fd540b7ac2181e6bf (patch)
treef46e360fc4d8b9d0a3e07b5fcf111d2be297fd8d /include/net/bluetooth/mgmt.h
parentBluetooth: Add proper response to mgmt_remove_keys command (diff)
downloadkernel-qcow2-linux-37d9ef76c26092098e8fbd3fd540b7ac2181e6bf.tar.gz
kernel-qcow2-linux-37d9ef76c26092098e8fbd3fd540b7ac2181e6bf.tar.xz
kernel-qcow2-linux-37d9ef76c26092098e8fbd3fd540b7ac2181e6bf.zip
Bluetooth: Add status parameter to mgmt_disconnect response
Since disconnecting may fail the status needs to be communicated to user space. This also updates the implementation to match the latest mgmt API specification. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r--include/net/bluetooth/mgmt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index e5a866a20eda..8b07a83dd94d 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -130,6 +130,7 @@ struct mgmt_cp_disconnect {
} __packed;
struct mgmt_rp_disconnect {
bdaddr_t bdaddr;
+ __u8 status;
} __packed;
#define MGMT_ADDR_BREDR 0x00