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

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

Reset fixed channel after callback called am: c097c925 am: c8602d37

Change-Id: I6b33ec3f85b00c20b36ef636ef3dfd94d67bdefe
parents 805cd2a4 c8602d37
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();
}