]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Allow setting static address even if LE is disabled
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Oct 2013 05:10:32 +0000 (22:10 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 3 Oct 2013 06:29:38 +0000 (09:29 +0300)
commitab424dd14a4147830f4154fe8cf6c71532faf652
tree1cf337c6b393a7571b6dcee8aa01c036823404be
parent07711ac9eb719103ab2d34ef835db791bb2ab2f3
Bluetooth: Allow setting static address even if LE is disabled

Setting the static address does not depend on LE beeing enabled. It
only depends on a controller with LE support.

When depending on LE enabled this command becomes really complicated
since in case LE gets disabled, it would be required to clear the
static address and also its random address representation inside
the controller. With future support for private addresses such
complex setup should be avoided.

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