]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Limit BR/EDR switching for LE only with secure connections
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 22 Jan 2015 19:15:21 +0000 (11:15 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 22 Jan 2015 19:42:45 +0000 (21:42 +0200)
commit8dc2120d8b67f80e3f88bab0247c4f33e792c1c4
tree9c203f900e524566e49ab76dd46fac86ac467ce7
parent534e615e5034aacc264686fcfec93346dcefdbc9
Bluetooth: Limit BR/EDR switching for LE only with secure connections

When a powered on dual-mode controller has been configured to operate
as LE only with secure connections, then the BR/EDR side of things can
not be switched back on. Do reconfigure the controller it first needs
to be powered down.

The secure connections feature is implemented in the BR/EDR controller
while for LE it is implemented in the host. So explicitly forbid such
a transaction to avoid inconsistent states.

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