Bluetooth: Store the source address type of LE connections
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 13 Oct 2013 10:57:39 +0000 (03:57 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 13 Oct 2013 14:46:31 +0000 (17:46 +0300)
commite7c4096e16f0e362c6cf902baab0de37ebfc1266
treedc3c132857160d10be00f96eb6e2667a9682ba0c
parent79d95a19a445f5758571b3342064f2c1e40b6c5f
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>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c