From: Marcel Holtmann Date: Thu, 22 Jan 2015 19:15:21 +0000 (-0800) Subject: Bluetooth: Limit BR/EDR switching for LE only with secure connections X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~73^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a5486e1fdb0da7a18788f40b17d351af90d0ea7;p=pandora-kernel.git 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 Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed