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

Commit 5f2c2f03 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

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

am: e3c00c82

Change-Id: I8f977e16aef20f409810c8435f4fadd9a0375844
parents 4adc74d3 e3c00c82
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;
}