From 60bb8e358646f7039c4906fd2d451985c7d1a870 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 10 Nov 2011 14:04:40 +0200 Subject: [PATCH] mgmt: Add bdaddr and status to remove_keys response --- doc/mgmt-api.txt | 3 ++- lib/mgmt.h | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt index cf7ef831a..66df98880 100644 --- a/doc/mgmt-api.txt +++ b/doc/mgmt-api.txt @@ -189,7 +189,8 @@ Remove Keys Command Controller Index: Command Parameters: Address (6 Octets) Disconnect (1 Octet) - Return Parameters: + Return Parameters: Address (6 Octets) + Status (1 Octet) Removes all keys associated with the remote device. diff --git a/lib/mgmt.h b/lib/mgmt.h index 28ff75663..10a4bd64a 100644 --- a/lib/mgmt.h +++ b/lib/mgmt.h @@ -129,6 +129,10 @@ struct mgmt_cp_remove_keys { bdaddr_t bdaddr; uint8_t disconnect; } __packed; +struct mgmt_rp_remove_keys { + bdaddr_t bdaddr; + uint8_t status; +} __packed; #define MGMT_OP_DISCONNECT 0x000F struct mgmt_cp_disconnect { -- 2.47.3