Use BASIC rather than LE_CREDIT_BASED channel for LE Fixed channels
Bug: 147086339
Test: Send data over SMP
Change-Id: I4d2253a193872235021b3af8488db70447e563eb
diff --git a/system/gd/l2cap/le/internal/link.cc b/system/gd/l2cap/le/internal/link.cc
index 2f147a7..37305fb 100644
--- a/system/gd/l2cap/le/internal/link.cc
+++ b/system/gd/l2cap/le/internal/link.cc
@@ -64,8 +64,7 @@
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;
}