summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzy <zhenye@broadcom.com>2012-09-06 15:14:40 -0700
committerMatthew Xie <mattx@google.com>2012-09-06 18:07:20 -0700
commit8f9b92272b3a4f5d141e2972adaaaf53829b04a2 (patch)
treebe46973c8e22e5b3db222e9f5b70659dbb4a0a6d
parent786d5ab53626b17c8cb4239ad5c6fe19ffdc6abc (diff)
downloadexternal_bluetooth_bluedroid-8f9b92272b3a4f5d141e2972adaaaf53829b04a2.zip
external_bluetooth_bluedroid-8f9b92272b3a4f5d141e2972adaaaf53829b04a2.tar.gz
external_bluetooth_bluedroid-8f9b92272b3a4f5d141e2972adaaaf53829b04a2.tar.bz2
Fixed acl credit issue when host data flow control is n/a
Bug 7009277
-rw-r--r--stack/l2cap/l2c_link.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stack/l2cap/l2c_link.c b/stack/l2cap/l2c_link.c
index daaf2a7..2183888 100644
--- a/stack/l2cap/l2c_link.c
+++ b/stack/l2cap/l2c_link.c
@@ -667,6 +667,7 @@ void l2c_link_adjust_allocation (void)
/* If no links active, nothing to do. */
if (l2cb.num_links_active == 0)
{
+ l2cb.controller_xmit_window = l2cb.num_lm_acl_bufs;
l2cb.round_robin_quota = l2cb.round_robin_unacked = 0;
return;
}