]> 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>
Tue, 30 Apr 2013 22:23:17 +0000 (19:23 -0300)
commitb217a7c33f0fcbaa8c01bfb8ae5a043b33b5cd30
tree7c70b20b240a217829b8849613fc96cc300936a2
parentf09a878511997c25a76bf111a32f6b8345a701a5
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