Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9a06e3a6 authored by Archie Pusaka's avatar Archie Pusaka
Browse files

Floss: Always set scan parameters for LE scan

If the LE scan parameters are not specified, libbluetooth will default
to 3s for both the scan window and interval, which means 100% duty scan
cycle. This might leave the controller with no chance to do other
activities, e.g. connecting to LE devices.

This CL makes sure that we always set the scan parameters before every
LE scan start attempt.

Bug: 298602709
Tag: #floss
Test: m -j
Test: Activate FP background scan, power cycle BT adapter, then
      reconnect any HID LE device. Verify reconnection is immediate.
Change-Id: I4d88f1db1dcfb9c6ab92c2d667798398a0aa8277
parent 2dcade2c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment