commit | 4d22fa83ec2b47034724b039e64e0876bfb18e77 | [log] [tgz] |
---|---|---|
author | Ben Lawson <benlawson@google.com> | Tue Aug 10 17:11:36 2021 +0000 |
committer | Rob Mohr <mohrr@google.com> | Thu Nov 16 10:58:50 2023 -0800 |
tree | 206132f79cf04af2398da88ce88c7ba0c11057f3 | |
parent | 770f2d0ed5bed4722a840f16e0db5b8e5b0a46b5 [diff] |
[bt][sco] Handle RequestHandle destruction in result callback Clear the in-progress SCO connection request before calling the result callback. This ensures that if the RequestHandle is destroyed in the callback, the callback is not called twice (fit::callback crashes if called twice). Increase log levels for some important SCO logs. Bug: 82304 Test: fx test bt-host-sco-tests Change-Id: Id3be36a19d839534d0155914068203fe478f0be7 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/566806 Reviewed-by: Matthew Kehrt <kehrt@google.com> Commit-Queue: Ben Lawson <benlawson@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.