summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-18 16:38:09 -0700
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-19 16:28:06 +0300
commit79830f66e3cbd224bcf697b032dce9828b5a3c9e (patch)
tree420c67d76a63acee3b8996d36683325e5fc6cb32 /include/net/bluetooth
parent8f8625cd8067827e2450e4ddec20f5521896114a (diff)
downloadop-kernel-dev-79830f66e3cbd224bcf697b032dce9828b5a3c9e.zip
op-kernel-dev-79830f66e3cbd224bcf697b032dce9828b5a3c9e.tar.gz
Bluetooth: Select the own address type during initial setup phase
The own address type is based on the fact if the controller has a public address or not. This means that this detail can be just configured once during setup phase. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-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 9b5db01..0daac39 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -142,6 +142,7 @@ struct hci_dev {
__u8 dev_type;
bdaddr_t bdaddr;
bdaddr_t static_addr;
+ __u8 own_addr_type;
__u8 dev_name[HCI_MAX_NAME_LENGTH];
__u8 short_name[HCI_MAX_SHORT_NAME_LENGTH];
__u8 eir[HCI_MAX_EIR_LENGTH];
OpenPOWER on IntegriCloud