diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-11-10 08:54:38 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-11-10 15:05:37 -0500 |
commit | a8a1d19e9d00e2ec6f28b89133137390b1d293bd (patch) | |
tree | f0a9b29406b632ed0d1dc1ff23cd397c707cd305 /include/net/bluetooth/mgmt.h | |
parent | c3f06755ca4279597cd58befd6c076ae2e3db480 (diff) |
Bluetooth: Add proper response to mgmt_remove_keys command
Since the command can fail we need to have a proper response with the
remote address and a failure status for it. This also updates it to
conform to the latest mgmt API spec.
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 76a3f162ebfe..e5a866a20eda 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h | |||
@@ -119,6 +119,10 @@ struct mgmt_cp_remove_keys { | |||
119 | bdaddr_t bdaddr; | 119 | bdaddr_t bdaddr; |
120 | __u8 disconnect; | 120 | __u8 disconnect; |
121 | } __packed; | 121 | } __packed; |
122 | struct mgmt_rp_remove_keys { | ||
123 | bdaddr_t bdaddr; | ||
124 | __u8 status; | ||
125 | }; | ||
122 | 126 | ||
123 | #define MGMT_OP_DISCONNECT 0x000F | 127 | #define MGMT_OP_DISCONNECT 0x000F |
124 | struct mgmt_cp_disconnect { | 128 | struct mgmt_cp_disconnect { |