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)
commit68d6f6ded5bdaa89f9da0144359a7c5565991f8d
tree75c7a934746a747aad097e6aca5113a0977ecaca
parent893ce8b1b3d92cbddcf34bb92c7d24720efc7fed
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