aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-09 10:21:16 -0500
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-13 10:01:37 -0500
commitb1078ad0be344e7bec6e7991f33df17565d24e08 (patch)
tree959a51367996856bcb0be46a7712bde0b2225a8f /include/net/bluetooth
parent82eb703efc2ad2ac52cada85a5119bb9dfcea942 (diff)
Bluetooth: Add Device Unpaired mgmt event
This patch add a new Device Unpaired mgmt event. This will be sent to all mgmt sockets except the one that requested unpairing (that socket will get a command complete instead). The event is also reserved for future SMP updates where a remote device will be able to request pairing revocation from us. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/mgmt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 17bbf8bf04ae..5b5edeed59e2 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -412,3 +412,8 @@ struct mgmt_ev_device_blocked {
412struct mgmt_ev_device_unblocked { 412struct mgmt_ev_device_unblocked {
413 struct mgmt_addr_info addr; 413 struct mgmt_addr_info addr;
414} __packed; 414} __packed;
415
416#define MGMT_EV_DEVICE_UNPAIRED 0x0016
417struct mgmt_ev_device_unpaired {
418 struct mgmt_addr_info addr;
419} __packed;