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

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

L2CAP: Always set the FCS type am: 3bc0d062

Change-Id: Ia8c2fc4b9daa8c982a4ab9e5644250d582b7b5ad
parents 40a1e370 3bc0d062
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -160,6 +160,7 @@ void ClassicSignallingManager::OnConnectionRequest(SignalId signal_id, Psm psm,

  auto fcs_option = std::make_unique<FrameCheckSequenceOption>();
  fcs_option->fcs_type_ = FcsType::NO_FCS;
  configuration_state.fcs_type_ = FcsType::NO_FCS;
  if (link_->GetRemoteSupportsFcs()) {
    fcs_option->fcs_type_ = FcsType::DEFAULT;
    configuration_state.fcs_type_ = FcsType::DEFAULT;
@@ -240,6 +241,7 @@ void ClassicSignallingManager::OnConnectionResponse(SignalId signal_id, Cid remo

  auto fcs_option = std::make_unique<FrameCheckSequenceOption>();
  fcs_option->fcs_type_ = FcsType::DEFAULT;
  configuration_state.fcs_type_ = FcsType::DEFAULT;
  if (!link_->GetRemoteSupportsFcs()) {
    fcs_option->fcs_type_ = FcsType::NO_FCS;
    configuration_state.fcs_type_ = FcsType::NO_FCS;