]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Store source address of HCI connections
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 13 Oct 2013 12:23:59 +0000 (05:23 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 13 Oct 2013 14:47:37 +0000 (17:47 +0300)
commite67ef09d03507f2d9d50be108a14e05e46ba953f
treee96b01e450e6cfc5e6ae328459dd1fcff3d2e1cf
parenta8ca92a3ae4b924d438fd515d08576a20d65fef9
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>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c