| commit | 90495d5267e1f5e94e43cd410ef3421eb21a12f0 | [log] [tgz] |
|---|---|---|
| author | Ben Lawson <benlawson@google.com> | Tue May 05 01:26:03 2020 +0000 |
| committer | Rob Mohr <mohrr@google.com> | Thu Nov 16 10:58:10 2023 -0800 |
| tree | 1d381b17d749d27ce54e8ef43f8c9ac2422b47cc | |
| parent | 467ef90c752d4475def2a1650a1caff081549a03 [diff] |
[bt][l2cap] Remove dispatcher argument from data::Domain::AddACLConnection Since the GAP and L2CAP layers run on the same thread and use the same dispatcher, it is no longer necessary to pass a dispatcher argument to data::Domain methods because callbacks can safely be called or posted using the dispatcher already passed to L2CAP on initialization. Remove dispatcher argument from data::Domain::AddACLConnection and ChannelManager::RegisterACL. Remove dispatcher argument from LogicalLink::set_error_callback and LogicalLink::set_security_upgrade_callback and call those callbacks synchronously. Bug: 50565 Test: pure refactor, run bt-host-unittests Change-Id: I34be72adc0878afceee4b3623d0e81fe5d3e15e8 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/383853 Commit-Queue: Ben Lawson <benlawson@google.com> Reviewed-by: Nick Pollard <nickpollard@google.com> Testability-Review: Nick Pollard <nickpollard@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/.