pw_bluetooth_proxy: Avoid running drain if already running This avoids H4 release during ACL send from triggering another drain. In later CL this will allow us to keep mutex for entire drain to ensure proper ordering. Bug: 420703142 Bug: 421249712 Test: CQ, local msan, downstream tsan in CQ Test: Tested in upcoming http://pwrev.dev/c/317139 Change-Id: I431e13ccac34e5af129205be64dabc3e52dca4a2 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/295175 Docs-Not-Needed: David Rees <drees@google.com> Tests-Not-Needed: David Rees <drees@google.com> Reviewed-by: Ben Lawson <benlawson@google.com> Commit-Queue: David Rees <drees@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Austin Foxley <afoxley@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.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/.