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

Commit eabc3781 authored by Jack He's avatar Jack He Committed by Automerger Merge Worker
Browse files

Merge "AckPause when Create Connection Cancel fail" into tm-d1-dev am: 5c04d4ad

parents d5453adf 5c04d4ad
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(