diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-10-21 18:03:00 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-10-21 18:36:39 +0200 |
commit | 1b51c7b6e878a2df6fdb5bcf51f966eb46a330e0 (patch) | |
tree | 9264f87edf290f9f39146f21bc770eef1729ff9c /net/bluetooth/mgmt.c | |
parent | 85813a7ec774b982899c82f86c52cad47588f863 (diff) | |
download | blackbird-obmc-linux-1b51c7b6e878a2df6fdb5bcf51f966eb46a330e0.tar.gz blackbird-obmc-linux-1b51c7b6e878a2df6fdb5bcf51f966eb46a330e0.zip |
Bluetooth: Add hci_conn_hash_lookup_le() helper function
Many of the existing LE connection lookups are forced to use
hci_conn_hash_lookup_ba() which doesn't take into account the address
type. What's worse, most of the users don't bother checking that the
returned address type matches what was wanted.
This patch adds a new helper API to look up LE connections based on
their address and address type, paving the way to have the
hci_conn_hash_lookup_ba() users converted to do more precise lookups.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/mgmt.c')
0 files changed, 0 insertions, 0 deletions