]> git.openfabrics.org - ~emulex/infiniband.git/commit
Bluetooth: Restrict SSP setting changes to BR/EDR enabled controllers
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Oct 2013 04:31:52 +0000 (21:31 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 3 Oct 2013 06:20:37 +0000 (09:20 +0300)
commitcdba5281b2496ffbca332e006f258951233bf53d
treeb625297d11656e4df63031ab6a56f0bddbc21cae
parent3b1662952ea9c2c32aac11d60f824fb94b2cf546
Bluetooth: Restrict SSP setting changes to BR/EDR enabled controllers

Only when BR/EDR is supported and enabled, allow changing of the SSP
setting. Just checking if the hardware supports SSP is not enough
since it might be the case that BR/EDR is disabled.

In the case that BR/EDR is disabled, but SSP supported by the
controller the not supported error message is now returned.

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