Bluetooth: Fix issue with switching BR/EDR back on when disabled
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 14 Jan 2015 22:40:42 +0000 (14:40 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 15 Jan 2015 08:27:47 +0000 (10:27 +0200)
commit111e4bccd1e27f0703936aadf41f227a9226e031
tree3f3c6c441bb176fcc1115cb3dab3094f249c36e2
parenteeb5a067d11e69fd235a36e17ff16a3177d847a4
Bluetooth: Fix issue with switching BR/EDR back on when disabled

For dual-mode controllers it is possible to disable BR/EDR and operate
as LE single mode controllers with a static random address. If that is
the case, then refuse switching BR/EDR back on after the controller has
been powered.

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