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

Commit 7fd89cf9 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

L2CAP: Always set the FCS type am: 3bc0d062 am: e00401fc am: c9d66444

Change-Id: If0a6227409200197595c2591028ddb69f4afa1f1
parents b474d34c c9d66444
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;