Bluetooth: increase timeout for le auto connections
authorKonrad Zapałowicz <konrad.zapalowicz@canonical.com>
Tue, 17 Oct 2017 13:53:49 +0000 (15:53 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 29 Oct 2017 13:10:35 +0000 (14:10 +0100)
commit1f01d8be0e6a04bd682a55f6d50c14c1679e7571
treee344c23eacc9180366de824683f87541c8bf80cb
parent13df5000d39a1570a88daa44855ebe0b0f966b14
Bluetooth: increase timeout for le auto connections

This patch increases the connection timeout for LE connections that are
triggered by the advertising report to 4 seconds.

It has been observed that devices equipped with wifi+bt combo SoC fail
to create a connection with BLE devices due to their coexistence issues.
Increasing this timeout gives them enough time to complete the
connection with success.

Signed-off-by: Konrad Zapałowicz <konrad.zapalowicz@canonical.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci.h