]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 29 May 2013 21:43:35 +0000 (18:43 -0300)
commit5e5a38f6bb419524a0292001431d3e3059fbcf50
tree01a8e40d33cfb05ad9d5b2cc8d7ec9cef003cd92
parentbbf71a8f35cf52e97ba129401f82ccefd249c757
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>
net/bluetooth/mgmt.c
net/bluetooth/smp.c