Bluetooth: Fix enabling Authenticated Payload Timeout Expired event
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Jul 2014 07:49:05 +0000 (09:49 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Jul 2014 08:19:15 +0000 (11:19 +0300)
commitcd7ca0ec5e046c570497b387332560eb42908cc4
tree817cecc180b94d73f0775688d6eb88b9398c9a55
parentfa2f1394fe9c1a217213f02df77812701de6362f
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>
include/net/bluetooth/hci.h
net/bluetooth/hci_core.c