From: Johan Hedberg Date: Mon, 7 Jul 2014 09:45:53 +0000 (+0300) Subject: Bluetooth: Fix connecting devices during LE device discovery X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c1abcabfa229b4b3d688d0a1f677d0ca7a1c624;p=pandora-kernel.git Bluetooth: Fix connecting devices during LE device discovery If we have devices set as to be connected we should connect to them even during normal discovery if we get a connectable advertising event. If we also have HCI_CONNECTABLE set we should connect ADV_DIRECT_IND events even to devices that we don't have in our pend_le_conns list. This patch implements such behavior by passing the advertising report type to check_pending_le_conn() and calls that function regardless of what type of scanning we are doing. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed