Bluetooth: Use hci_conn_hash_lookup_le() when possible
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 21 Oct 2015 15:03:01 +0000 (18:03 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Oct 2015 16:38:22 +0000 (18:38 +0200)
commit9d4c1cc15b14b4a96ddfcfac533a12f9f527c129
tree62aa03d25ea1af75017bd23e85c25327bf7d83aa
parent1b51c7b6e878a2df6fdb5bcf51f966eb46a330e0
Bluetooth: Use hci_conn_hash_lookup_le() when possible

Use the new hci_conn_hash_lookup_le() API to look up LE connections.
This way we're guaranteed exact matches that also take into account
the address type.

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