]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Report identity address when remote device connects
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Feb 2014 22:22:19 +0000 (14:22 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 19 Feb 2014 04:05:09 +0000 (06:05 +0200)
commitf61badb0f040704536e393d1056e9a1712ea139a
tree16f344ea60b99e64d9ee0fd5f9f19e1aef3eecc8
parent75b3bdde3a3ce5d0d20ab115859fd498982c982e
Bluetooth: Report identity address when remote device connects

When the remote device has been successfully connected, report the
identity address (public address or static random address).

Currently the address from the HCI_LE_Connection_Complete event is
used. This was no problem so far, but since now known resolvable
random addresses are converted into identities, it is important to
use the identity of the connection and not the address report by
HCI event.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_event.c