Bluetooth: Replace own_address_type with force_static_address debugfs
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 20 Feb 2014 03:31:26 +0000 (19:31 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 20 Feb 2014 06:19:37 +0000 (08:19 +0200)
commitb32bba6ced5696593a6bae5fdc69dc79c0a97ef5
tree4508b0efe6a4d8b067ef716c4ee140d8d01cf26b
parent5192d30114771ac5956d750ec506dc574411cc70
Bluetooth: Replace own_address_type with force_static_address debugfs

The own_address_type debugfs option does not providing enough
flexibity for interacting with the upcoming LE privacy support.

What really is needed is an option to force using the static address
compared to the public address. The new force_static_address debugfs
option does exactly that. In addition it is also only available when
the controller does actually have a public address. For single mode
LE only controllers this option will not be available.

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