]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Support resolvable private addresses
authorAndre Guedes <andre.guedes@openbossa.org>
Wed, 26 Feb 2014 23:21:53 +0000 (20:21 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 27 Feb 2014 03:41:35 +0000 (19:41 -0800)
commit30940e7467bda5c67344806f9e98e25f41a614c4
treec17aef3b3d7b4a1e7953cc642e91d712812695f4
parent3f199f77ca52f330b328fb17866a68485a009b71
Bluetooth: Support resolvable private addresses

Only identity addresses are inserted into hdev->pend_le_conns. So,
in order to support resolvable private addresses in auto connection
mechanism, we should resolve the address before checking for pending
connections.

Thus, this patch adds an extra check in check_pending_le_conn() and
updates 'addr' and 'addr_type' variables before hci_pend_le_conn_
lookup().

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c