From: Johan Hedberg Date: Sun, 6 Jul 2014 10:41:15 +0000 (+0300) Subject: Bluetooth: Use lower timeout for LE auto-connections X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09ae260ba452c2ed36ec295941a58cb75db213ed;p=pandora-kernel.git Bluetooth: Use lower timeout for LE auto-connections When we establish connections as a consequence of receiving an advertising report it makes no sense to wait the normal 20 second LE connection timeout. This patch modifies the hci_connect_le function to take an extra timeout value and uses a lower 2 second timeout for the auto-connection case. This timeout is intentionally chosen to be just a bit higher than the 1.28 second timeout that High Duty Cycle Advertising uses. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed