Bluetooth: Make hci_pend_le_conn_lookup more general purposed
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 4 Jul 2014 09:37:26 +0000 (12:37 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 4 Jul 2014 09:58:10 +0000 (11:58 +0200)
commit501f882741b139da22bb3ba4bc615a6eadce5038
tree1dcd88ff24a0e93867c8a1f2cf7aaddff6d38eee
parentd9b3ad7df101a6490272771f1aabbaa623a196f3
Bluetooth: Make hci_pend_le_conn_lookup more general purposed

In some circumstances we need to look up entries in pend_le_conns and in
other in pend_le_reports. This patch converts the existing lookup
function for pend_le_conns to something that can be used for both lists.

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