diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-13 12:57:39 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-13 16:46:31 +0200 |
commit | e7c4096e16f0e362c6cf902baab0de37ebfc1266 (patch) | |
tree | dc3c132857160d10be00f96eb6e2667a9682ba0c /include | |
parent | Bluetooth: Remove pointless bdaddr_to_le() helper function (diff) | |
download | linux-e7c4096e16f0e362c6cf902baab0de37ebfc1266.tar.xz linux-e7c4096e16f0e362c6cf902baab0de37ebfc1266.zip |
Bluetooth: Store the source address type of LE connections
When establishing LE connections, it is possible to use a public
address (if available) or a random address. The type of address
is only known when creating connections, so make sure it is
stored in hci_conn structure.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 7889495da843..714da9ea465e 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; + __u8 src_type; __u16 handle; __u16 state; __u8 mode; |