Bluetooth: Update l2cap_global_chan_by_psm() to take a link type
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 14 May 2013 10:23:13 +0000 (13:23 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:32 +0000 (07:05 -0800)
commitbf20fd4ec1d39df78e31fd7c7a4066f69b8bcd8a
treeee0a5ae44cc31690c3542935f1aeaf38ee68eeca
parent9149761ad74f618371b58fd37141d4c3706d88fc
Bluetooth: Update l2cap_global_chan_by_psm() to take a link type

Once connection oriented L2CAP channels become possible for LE we need
to be able to specify the link type we're interested in when looking up
L2CAP channels. Therefore, add a link_type parameter to the
l2cap_global_chan_by_psm() function which gets compared to the address
type associated with each l2cap_chan.

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