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

Commit 96b853d7 authored by Chris Manton's avatar Chris Manton
Browse files

gd_acl: Upon le disconnect use proper transport conn map

Bug: 178065202
Test: Compiles
Tag: #refactor
Change-Id: Ifd5e027f707c22faaf07b95434a8daacf43eb30a
parent d299c9c1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -922,9 +922,9 @@ void bluetooth::shim::legacy::Acl::OnLeLinkDisconnected(HciHandle handle,
  hci::AddressWithType remote_address_with_type =
      pimpl_->handle_to_le_connection_map_[handle]->GetRemoteAddressWithType();
  CreationTime creation_time =
      pimpl_->handle_to_classic_connection_map_[handle]->GetCreationTime();
      pimpl_->handle_to_le_connection_map_[handle]->GetCreationTime();
  bool is_locally_initiated =
      pimpl_->handle_to_classic_connection_map_[handle]->IsLocallyInitiated();
      pimpl_->handle_to_le_connection_map_[handle]->IsLocallyInitiated();

  TeardownTime teardown_time = std::chrono::system_clock::now();