]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix checks for LE support on LE-only controllers
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 24 Apr 2013 10:05:32 +0000 (13:05 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Jun 2013 14:20:54 +0000 (10:20 -0400)
commitd060c7f1a4a90fab9ae53a3485c1f440b6fed019
tree1be8fbb65253f11224de2a1ba66b72d43163a6ae
parent52b27f9d53d1f53d26b695b51146924b4ea42bde
Bluetooth: Fix checks for LE support on LE-only controllers

LE-only controllers do not support extended features so any kind of host
feature bit checks do not make sense for them. This patch fixes code
used for both single-mode (LE-only) and dual-mode (BR/EDR/LE) to use the
HCI_LE_ENABLED flag instead of the "Host LE supported" feature bit for
LE support tests.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/bluetooth/mgmt.c
net/bluetooth/smp.c