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)
commit9ecb3e24258f1ff4b9937602962ae12e3b57f98d
tree602571c85990c9190d68b9938d442b5ff25284fb
parent72ef0c1a9e62c3dd3b4841c8c8a1f259bf7b5d94
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