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

Commit be8bce38 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Use BASIC rather than LE_CREDIT_BASED channel for LE Fixed channels

Bug: 147086339
Test: Send data over SMP
Change-Id: I4d2253a193872235021b3af8488db70447e563eb
parent a5d82b88
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;
}