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, 6 Aug 2019 07:59:20 +0000 (15:59 +0800)
commit252caba0021550a4c1a121215b5510c4da4b48a6
tree55b2e49afb91f3f40ab71f53087295bc0e6e4792
parent3118cdcb902dd10dbcbc6217376724bb69ac1f32
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
stack/l2cap/l2c_link.cc