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)
commit62af444319120347371ae24043da28db75b729db
tree1cf337c6b393a7571b6dcee8aa01c036823404be
parentcdba5281b2496ffbca332e006f258951233bf53d
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