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

Commit e3c00c82 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Use BASIC rather than LE_CREDIT_BASED channel for LE Fixed channels"

parents 1612c267 be8bce38
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -64,8 +64,7 @@ void Link::UpdateConnectionParameter(SignalId signal_id, uint16_t conn_interval_

std::shared_ptr<FixedChannelImpl> Link::AllocateFixedChannel(Cid cid, SecurityPolicy security_policy) {
  auto channel = fixed_channel_allocator_.AllocateChannel(cid, security_policy);
  data_pipeline_manager_.AttachChannel(cid, channel,
                                       l2cap::internal::DataPipelineManager::ChannelMode::LE_CREDIT_BASED);
  data_pipeline_manager_.AttachChannel(cid, channel, l2cap::internal::DataPipelineManager::ChannelMode::BASIC);
  return channel;
}