]> 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)
commit96c0c3a9eaef5b6dd11a7a9009e672ae574ab350
tree1cf337c6b393a7571b6dcee8aa01c036823404be
parentb83e679c86374bb9b9efd9bc4a4e830173972668
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