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>
This commit is contained in:
Marcel Holtmann
2013-10-13 03:57:39 -07:00
committed by Johan Hedberg
parent 79d95a19a4
commit e7c4096e16
2 changed files with 8 additions and 4 deletions

View File

@@ -300,6 +300,7 @@ struct hci_conn {
bdaddr_t dst;
__u8 dst_type;
__u8 src_type;
__u16 handle;
__u16 state;
__u8 mode;