]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Track the current configured random address
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 20 Feb 2014 03:52:13 +0000 (19:52 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 20 Feb 2014 06:28:04 +0000 (08:28 +0200)
commit761457692a54f37391c9c21a160add689714881c
tree53934edd8af19042e45321e4a78c260cfab063a7
parent9da3188dc41d1cf8e6c110bbe5165b6d603f6553
Bluetooth: Track the current configured random address

For Bluetooth controllers with LE support, track the value of the
currently configured random address. It is important to know what
the current random address is to avoid unneeded attempts to set
a new address. This will become important when introducing the
LE privacy support in the future.

In addition expose the current configured random address via
debugfs for debugging purposes.

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