summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2015-01-28 19:56:00 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-01-28 21:26:22 +0100
commit592002863a03bd172a19d04854c5ed415693911f (patch)
tree76b146cc0b32d923fe15296532a6f6410f04f9a9 /net/bluetooth/hci_event.c
parent838f66e3ab5fcaa05fbf33acf189541078352685 (diff)
downloadop-kernel-dev-592002863a03bd172a19d04854c5ed415693911f.zip
op-kernel-dev-592002863a03bd172a19d04854c5ed415693911f.tar.gz
Bluetooth: Fix check for SSP when enabling SC
There's a check in set_secure_conn() that's supposed to ensure that SSP is enabled before we try to request the controller to enable SC (since SSP is a pre-requisite for it). However, this check only makes sense for controllers actually supporting BR/EDR SC. If we have a 4.0 controller we're only interested in the LE part of SC and should therefore not be requiring SSP to be enabled. This patch adds an additional condition to check for lmp_sc_capable(hdev) before requiring SSP to be enabled. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_event.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud