summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-13 12:23:59 (GMT)
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-13 14:47:37 (GMT)
commit662e8820f38dcc458e0d4769194db5ed3469224f (patch)
treee96b01e450e6cfc5e6ae328459dd1fcff3d2e1cf /include
parente7c4096e16f0e362c6cf902baab0de37ebfc1266 (diff)
downloadlinux-fsl-qoriq-662e8820f38dcc458e0d4769194db5ed3469224f.tar.xz
Bluetooth: Store source address of HCI connections
The source addressed was based on the public address of the HCI device, but with LE connections this not always the case. For example single mode LE-only controllers would use a static random address. And this address is configured by userspace. To not complicate the lookup of what kind of address is in use, store the correct source address for each HCI connection. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include')
-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 714da9e..0326b16 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -300,6 +300,7 @@ struct hci_conn {
bdaddr_t dst;
__u8 dst_type;
+ bdaddr_t src;
__u8 src_type;
__u16 handle;
__u16 state;