summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-07-09 09:49:05 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-07-09 11:19:15 +0300
commitcd7ca0ec5e046c570497b387332560eb42908cc4 (patch)
tree817cecc180b94d73f0775688d6eb88b9398c9a55 /include/net/bluetooth
parentfa2f1394fe9c1a217213f02df77812701de6362f (diff)
downloadop-kernel-dev-cd7ca0ec5e046c570497b387332560eb42908cc4.zip
op-kernel-dev-cd7ca0ec5e046c570497b387332560eb42908cc4.tar.gz
Bluetooth: Fix enabling Authenticated Payload Timeout Expired event
The Authenticated Payload Timeout Expired event is valid for controllers with BR/EDR Secure Connections support, but also for LE only controllers supporting LE Ping feature. When either of them is available enable this event. Previous it was not enabled when the controller was only supporting LE operation. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/hci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 6ed1f72..a01236e 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -357,6 +357,7 @@ enum {
/* LE features */
#define HCI_LE_CONN_PARAM_REQ_PROC 0x02
+#define HCI_LE_PING 0x10
/* Connection modes */
#define HCI_CM_ACTIVE 0x0000
OpenPOWER on IntegriCloud