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

Commit fe3a2790 authored by Chris Manton's avatar Chris Manton
Browse files

Check before handle next command

Bug: 144171652
Test: Run CtsVerifier in Gd mode

Change-Id: Id72b000e7e34ce9b99191b010e3898f27906a862
parent 8bd14641
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -180,7 +180,6 @@ void ClassicSignallingManager::OnConnectionResponse(SignalId signal_id, Cid remo
  }
  alarm_.Cancel();
  SendConfigurationRequest(remote_cid, {});
  handle_send_next_command();
}

void ClassicSignallingManager::OnConfigurationRequest(SignalId signal_id, Cid cid, Continuation is_continuation,
@@ -193,7 +192,6 @@ void ClassicSignallingManager::OnConfigurationRequest(SignalId signal_id, Cid ci
  auto response = ConfigurationResponseBuilder::Create(signal_id.Value(), channel->GetRemoteCid(), is_continuation,
                                                       ConfigurationResponseResult::SUCCESS, {});
  enqueue_buffer_->Enqueue(std::move(response), handler_);
  handle_send_next_command();
  channel->SetIncomingConfigurationStatus(DynamicChannelImpl::ConfigurationStatus::CONFIGURED);
  if (channel->GetOutgoingConfigurationStatus() == DynamicChannelImpl::ConfigurationStatus::CONFIGURED) {
    std::unique_ptr<DynamicChannel> user_channel = std::make_unique<DynamicChannel>(channel, handler_);