]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Track the LE Identity Address in struct hci_conn
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 18 Feb 2014 19:41:32 +0000 (21:41 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Feb 2014 19:48:54 +0000 (11:48 -0800)
commitf1e5fa4dac134d4d12c3cd1f1ef48eb9d507aad7
tree75c7a934746a747aad097e6aca5113a0977ecaca
parent545035d675a4a4ba24f48f7d6f558485f4782076
Bluetooth: Track the LE Identity Address in struct hci_conn

Since we want user space to see and use the LE Identity Address whenever
interfacing with the kernel it makes sense to track that instead of the
real address (the two will only be different in the case of an RPA).
This patch adds the necessary updates to when an LE connection gets
established and when receiving the Identity Address from a remote
device.

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