Bluetooth: Support scanning for devices using RPA
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 2 Jul 2014 20:09:24 +0000 (23:09 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:59 +0000 (17:42 +0200)
commit079446c8a254d65da0378a45c2106dbf1ff6a769
tree792dc9bf8672d48baa127fe6cae36bac537ecbf0
parent0d2bf13462732d3b2e11d8efb0545c1ed272298b
Bluetooth: Support scanning for devices using RPA

When we're scanning for specific devices that use an RPA we need to
convert the RPA to the identity address before looking up the entry in
the connection parameters. This patch adds the necessary code to do this
in the process_adv_report() function.

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