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

Commit 302bf37a authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

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

Change-Id: I8f230ee2e5f603e5aa7717ec3d68cabda61dbb95
parents bbab6f39 f5073eb9
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();
}