aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-11-10 15:54:38 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2011-11-10 18:05:37 -0200
commita8a1d19e9d00e2ec6f28b89133137390b1d293bd (patch)
treef0a9b29406b632ed0d1dc1ff23cd397c707cd305 /include/net/bluetooth/mgmt.h
parentc3f06755ca4279597cd58befd6c076ae2e3db480 (diff)
downloadkernel_goldelico_gta04-a8a1d19e9d00e2ec6f28b89133137390b1d293bd.zip
kernel_goldelico_gta04-a8a1d19e9d00e2ec6f28b89133137390b1d293bd.tar.gz
kernel_goldelico_gta04-a8a1d19e9d00e2ec6f28b89133137390b1d293bd.tar.bz2
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 76a3f16..e5a866a 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -119,6 +119,10 @@ struct mgmt_cp_remove_keys {
bdaddr_t bdaddr;
__u8 disconnect;
} __packed;
+struct mgmt_rp_remove_keys {
+ bdaddr_t bdaddr;
+ __u8 status;
+};
#define MGMT_OP_DISCONNECT 0x000F
struct mgmt_cp_disconnect {