From: Johan Hedberg Date: Thu, 7 Aug 2014 19:56:48 +0000 (+0300) Subject: Bluetooth: Improve fixed channel lookup based on link type X-Git-Tag: omap-for-v3.19/prcm-cleanup~78^2~133^2~84^2~36 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54a1b626c96039f172dd2ea15b2671053b3c5a68;p=pandora-kernel.git Bluetooth: Improve fixed channel lookup based on link type When notifying global fixed channels of new connections it doesn't make sense to consider channels meant for a different link type than the one available. This patch adds an extra parameter to the l2cap_global_fixed_chan() lookup function and ensures that only channels matching the current hci_conn type are looked up. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed