From: Johan Hedberg Date: Thu, 7 Aug 2014 19:56:43 +0000 (+0300) Subject: Bluetooth: Fix __l2cap_no_conn_pending() usage with all channels X-Git-Tag: omap-for-v3.19/prcm-cleanup~78^2~133^2~84^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ff6f34d4260c542df3712e29ead87cf071ad472;p=pandora-kernel.git Bluetooth: Fix __l2cap_no_conn_pending() usage with all channels The __l2cap_no_conn_pending() function would previously only return a meaningful value for connection oriented channels and was therefore not useful for anything else. As preparation of making the L2CAP code more generic allow the function to be called for other channel types as well by returning a meaningful value for them. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed