diff options
author | 2021-09-13 18:13:42 -0400 | |
---|---|---|
committer | 2021-09-13 18:21:13 -0400 | |
commit | c301f67772c2a2c643dd47b2291f0c971f8006ce (patch) | |
tree | a3fd8eecbad86d26dd2fc3be44a4ab39a95bb4bc /lib_bluez.c | |
parent | 495dbef34079fe860ba0c2cd83a07b086b5a2417 (diff) |
Rework adapter detection logicneedlefish_13.93.0needlefish/13.93.0marlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.113.93.012.93.012.92.012.91.012.90.1
Rework the adapter detection logic in the helper thread to use the
initialization done signal to the main process to indicate that basic
BlueZ D-Bus initialization has completed, then loop forever looking
for an adapter as opposed to just trying once. This improves the
behavior with hardware such as the TI Wilink chipset or the Broadcom
chipset on Raspberry Pi 4, where the firmware loading delay may
result in the HCI device not actually being available yet when the
binding is started.
Bug-AGL: SPEC-4060
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I1da5c2e3168acd0f8f55dc75c2408647d03c0a4e
Diffstat (limited to 'lib_bluez.c')
0 files changed, 0 insertions, 0 deletions