Bluetooth: Ensure hci_conn always contains the local identity address
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 23 Feb 2014 17:42:17 +0000 (19:42 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 23 Feb 2014 20:24:25 +0000 (12:24 -0800)
commit7be2edbbb87a34fbf1441991a679af94fe1d981d
tree69ed0f44f3c1148ee4f5abdd807000f1fa40619f
parent0f4bd942f13dd15a1b290953cdd7cd6aca11be1f
Bluetooth: Ensure hci_conn always contains the local identity address

To be consistent with the remote address info in hci_conn we want it to
also contain the local identity address information. This patch updates
the code to copy the right values in place whenever an LE connection has
been established.

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