]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Restrict disabling of HS when controller is powered off
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 2 Oct 2013 07:27:02 +0000 (00:27 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 2 Oct 2013 10:51:50 +0000 (13:51 +0300)
commit300055daf59390c66ef64185bde28c03b59c2446
tree715cbd9cd9e66d9b588d84467c88eadb6024e0e9
parent6e92f0e00596b13b3de8415631d239983b1ef04f
Bluetooth: Restrict disabling of HS when controller is powered off

Disabling the high speed setting when the controller is powered on has
too many side effects that are not taken care of. And in general it
is not an useful operation anyway. So just make such a command fail
with a rejection error message.

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