aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-07-05 10:48:03 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-07-05 15:48:28 +0300
commite30d3f5fef378cd14ba8c331a5c7a2f9239c2770 (patch)
treed012bca32e42ff5d6a6d2407aa2cd0d4034d48bd /include/net/bluetooth/hci_core.h
parentBluetooth: Run special init procedure for unconfigured controllers (diff)
downloadlinux-dev-e30d3f5fef378cd14ba8c331a5c7a2f9239c2770.tar.xz
linux-dev-e30d3f5fef378cd14ba8c331a5c7a2f9239c2770.zip
Bluetooth: Store Bluetooth address from controller setup
During the setup phase of a controller, the Bluetooth address will be read and to have that original address available for later use, store it as setup address. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r--include/net/bluetooth/hci_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 1cae4d3a629d..aff285698c85 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -171,6 +171,7 @@ struct hci_dev {
__u8 bus;
__u8 dev_type;
bdaddr_t bdaddr;
+ bdaddr_t setup_addr;
bdaddr_t public_addr;
bdaddr_t random_addr;
bdaddr_t static_addr;