]> git.baikalelectronics.ru Git - kernel.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)
commitb83e679c86374bb9b9efd9bc4a4e830173972668
treeb625297d11656e4df63031ab6a56f0bddbc21cae
parentcea0a3fc9493d84cb162abd136f80e05d58c7c79
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