OSDN Git Service

Fix LE buffer size for 0 length buffers
authorAndre Eisenbach <andre@broadcom.com>
Wed, 3 Apr 2013 20:56:05 +0000 (13:56 -0700)
committerMatthew Xie <mattx@google.com>
Wed, 3 Apr 2013 21:17:01 +0000 (14:17 -0700)
commit0082e027d5ae3f45a3a613ed720c31e35f61d0eb
treef310eca016e043acc6b8efba6abc10ae9737ef33
parentb88fc6cb5636c4af17077502fe3313ffb32d93ee
Fix LE buffer size for 0 length buffers

If the local chip reports 0 LE data buffers and 0 LE ACL data package
length, then the default ACL buffer length as returned byt the
Read_Buffer_Size command is to be used instead.

Change-Id: I953fabe426a98cc1b005d3b46c3e7f227c23a686
stack/btm/btm_devctl.c
stack/l2cap/l2c_ble.c