diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-09 17:21:16 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-13 17:01:37 +0200 |
commit | b1078ad0be344e7bec6e7991f33df17565d24e08 (patch) | |
tree | 959a51367996856bcb0be46a7712bde0b2225a8f /include/net/bluetooth/mgmt.h | |
parent | 82eb703efc2ad2ac52cada85a5119bb9dfcea942 (diff) | |
download | linux-b1078ad0be344e7bec6e7991f33df17565d24e08.tar.gz linux-b1078ad0be344e7bec6e7991f33df17565d24e08.tar.bz2 linux-b1078ad0be344e7bec6e7991f33df17565d24e08.zip |
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/mgmt.h')
-rw-r--r-- | include/net/bluetooth/mgmt.h | 5 |
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 { struct mgmt_ev_device_unblocked { struct mgmt_addr_info addr; } __packed; + +#define MGMT_EV_DEVICE_UNPAIRED 0x0016 +struct mgmt_ev_device_unpaired { + struct mgmt_addr_info addr; +} __packed; |