summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btusb.c
diff options
context:
space:
mode:
authorJohan Hedberg2014-07-06 12:41:15 +0200
committerJohan Hedberg2014-07-06 13:46:15 +0200
commit09ae260ba452c2ed36ec295941a58cb75db213ed (patch)
tree55b108d9a368ee131a6e7e723c26ea65e0f56f10 /drivers/bluetooth/btusb.c
parentBluetooth: Clear HCI_RAW flag when controller becomes configured (diff)
downloadkernel-qcow2-linux-09ae260ba452c2ed36ec295941a58cb75db213ed.tar.gz
kernel-qcow2-linux-09ae260ba452c2ed36ec295941a58cb75db213ed.tar.xz
kernel-qcow2-linux-09ae260ba452c2ed36ec295941a58cb75db213ed.zip
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 <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btusb.c')
0 files changed, 0 insertions, 0 deletions