Bluetooth: Use Identity Address in Device Found event
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 18 Feb 2014 19:41:37 +0000 (21:41 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Feb 2014 19:48:55 +0000 (11:48 -0800)
commit5cedbb8d7aee79a8bbfc8e5b91bc1353ffb0f7b0
treea43dc37dab3df907f5af7e4ec7fa53fe45995261
parent1ebfcc1f5884509925522ab76c17db9befe0aac9
Bluetooth: Use Identity Address in Device Found event

Whenever a device uses an RPA we want to have user space identify it by
its Identity Address if we've got an IRK available for it. This patch
updates the Device Found mgmt event to contain the Identity Address if
an IRK is available for the device in question.

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