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

Commit c8602d37 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Reset fixed channel after callback called am: c097c925

Change-Id: Ide2bebd5dd2b21729583c554b3a0e0ccbb7329dc
parents f2e0bb37 c097c925
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -99,6 +99,7 @@ void ClassicPairingHandler::OnConnectionClose(hci::ErrorCode error_code) {
  // Called when the connection gets closed
  LOG_ERROR("Connection closed due to: %s", hci::ErrorCodeText(error_code).c_str());
  ASSERT(fixed_channel_ != nullptr);
  fixed_channel_.reset();
  Cancel();
}