]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Enable LE Long Term Key Request event only when supported
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 12 Jul 2014 22:29:22 +0000 (00:29 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 13 Jul 2014 05:49:58 +0000 (08:49 +0300)
commit15191e3cf7e27cfd0d2357b87458dd08b91c4b19
tree06850acd6f5f54045614e5c2c5fb3afc6897171b
parentfb93523a47c96576203d3ada05e86aa0d40feee9
Bluetooth: Enable LE Long Term Key Request event only when supported

The support for LE encryption is optional and with that also the
LE Long Term Key Request event. If encryption is not supported, then
do not bother enabling this event.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c