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

Commit 9f1bd457 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "AckPause when Create Connection Cancel fail" am: d5b75173 am: f819e99c

parents 026c56df f819e99c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -972,6 +972,11 @@ struct le_impl : public bluetooth::hci::LeAddressManagerCallback {
      auto status = complete_view.GetStatus();
      std::string error_code = ErrorCodeText(status);
      LOG_WARN("Received on_create_connection_cancel_complete with error code %s", error_code.c_str());
      if (pause_connection) {
        LOG_WARN("AckPause");
        le_address_manager_->AckPause(this);
        return;
      }
    }
    if (connectability_state_ != ConnectabilityState::DISARMING) {
      LOG_ERROR(