Bluetooth: Incorrect address while storing LTK.
authorHemant Gupta <hemant.gupta@stericsson.com>
Fri, 23 Dec 2011 05:37:24 +0000 (11:07 +0530)
committerGustavo F. Padovan <padovan@profusion.mobi>
Fri, 23 Dec 2011 18:55:06 +0000 (16:55 -0200)
commit3573b80c42e88c2a43c068c86bcd1a753cf6e1a0
treec5d3101ff84f7d1db6f2bfe012be9fae59e9f82a
parentaf3e6359a2b52970c63c3c9f73d52be281a162ad
Bluetooth: Incorrect address while storing LTK.

This patch fixes incorrect address storage while storing
Long Term Key for LE Devices using SMP (Security Manager Protocol).
The address stored should be of remote device and not of source device.

Signed-off-by: Hemant Gupta <hemant.gupta@stericsson.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/smp.c