[xenial] SRU: [PATCH v2 0/0] Bluetooth: increase timeout for le auto connections

Konrad Zapalowicz konrad.zapalowicz at canonical.com
Tue Nov 14 10:51:39 UTC 2017


From: Konrad Zapałowicz <konrad.zapalowicz at canonical.com>

SRU Justification:

BugLink: https://bugs.launchpad.net/bugs/1731467

[Impact]

Not possible to pair BLE remote devices such as sensors and such with
Ubuntu when the host system uses BT+WiFi combo SoC. The connection
attempt is disturbed with a timeout.

[Fix]

It has been fixed by increasing the timeout value from 2 seconds to
4 seconds. It is enough for the events to reach the stack (measured
that it takes between 3 and 3.5 seconds).

[Testcase]

Tested with the device that failed to connect to Ubuntu Core gateway.
It fails w/o the patch, it connects just fine with the patch applied.

[Regression Potential]

Very small. The increased timeout is taken into consideration only for
new and scan report triggered connections. It will not make any already
working device to fail to pair.

[Other Info]

The bug has been discussed and fixed here:

https://marc.info/?l=linux-bluetooth&m=150824844606937&w=2

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=1f01d8be0e6a04bd682a55f6d50c14c1679e7571

The patch has been accepted by the upstream and will be a part of the
next kernel release. Currently in the bluetooth-next tree.

Konrad Zapałowicz (1):
  [xenial] (upstream) Bluetooth: increase timeout for le auto
    connections

 include/net/bluetooth/hci.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4





More information about the kernel-team mailing list