OSDN Git Service

Distribute ACL buffer only for not BLE device
authorweichinweng <weichinweng@google.com>
Fri, 2 Aug 2019 08:43:09 +0000 (16:43 +0800)
committerweichinweng <weichinweng@google.com>
Tue, 20 Aug 2019 08:52:48 +0000 (16:52 +0800)
commitc3934ddad6520040152eaeedd4ad667bd467a153
tree1271c67886e4ba831ade546b2b9bfc36e85e025a
parent7d8ab19529f86baa884b8763fffca7fdd8538619
Distribute ACL buffer only for not BLE device

If LE ACL buffer is not zero from controller, will distribute ACL buffer
only for not BLE device to avoid assigning wrong quota to each device.
For BLE device, will be distribute BLE ACL buffer via l2cap ble layer.
If LE ACL buffe is zero from controller, will keep existing logic.

Bug: 136799551
Test: 1. Pair BLE and BREDR device, check whether Quota is correct.

Change-Id: Idd7079e8da3390fa9f4e42b07774df8928f2bf20
Merged-In: Idd7079e8da3390fa9f4e42b07774df8928f2bf20
stack/l2cap/l2c_link.cc