]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Restrict high speed support to SSP enabled controllers
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Oct 2013 10:08:11 +0000 (03:08 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Oct 2013 10:54:51 +0000 (12:54 +0200)
commitcefae6bd190e15812e3a5df4f8e413861c99df2b
tree602571c85990c9190d68b9938d442b5ff25284fb
parent4566c17cfe67edbea09f42ce7c9e663603885404
Bluetooth: Restrict high speed support to SSP enabled controllers

The support for Bluetooth High Speed can only be enabled on controllers
where also Secure Simple Pairing has been enabled. Trying to enable
high speed when SSP is disabled will result into an error. Disabling
SSP will at the same time disable high speed as well.

It is required to enforce this dependency on SSP since high speed
support is only defined for authenticated, unauthenticated and
debug link keys. These link key types require SSP.

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