diff options
author | Ganesh Ganapathi Batta <ganeshg@broadcom.com> | 2012-07-09 10:06:23 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-07-25 01:13:01 -0700 |
commit | 3ec3b30a9d39c24437f30b98539b542a24e6737d (patch) | |
tree | 08c04642e00907c5998a36746df78b7ad3c98224 /include/bt_target.h | |
parent | fb8fb016214e6e454028ec4073085ad0eb599a10 (diff) | |
download | external_bluetooth_bluedroid-3ec3b30a9d39c24437f30b98539b542a24e6737d.zip external_bluetooth_bluedroid-3ec3b30a9d39c24437f30b98539b542a24e6737d.tar.gz external_bluetooth_bluedroid-3ec3b30a9d39c24437f30b98539b542a24e6737d.tar.bz2 |
Fix for CR BLTH01539543
Define max L2CAP channels to be 16 and combine MAX_L2CAP_LINKS and MAX_BD_CONNECTION into one definition
Change-Id: Ib5cb95f5829400b2182beb3c8409142a20b8fb95
Diffstat (limited to 'include/bt_target.h')
-rwxr-xr-x | include/bt_target.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/bt_target.h b/include/bt_target.h index 7e29052..5220134 100755 --- a/include/bt_target.h +++ b/include/bt_target.h @@ -844,8 +844,10 @@ and USER_HW_DISABLE_API macros */ #endif /* The maximum number of simultaneous links that L2CAP can support. */ -#ifndef MAX_L2CAP_LINKS +#ifndef MAX_ACL_CONNECTIONS #define MAX_L2CAP_LINKS 4 +#else +#define MAX_L2CAP_LINKS MAX_ACL_CONNECTIONS #endif /* The maximum number of simultaneous channels that L2CAP can support. */ @@ -1222,8 +1224,10 @@ and USER_HW_DISABLE_API macros */ #endif /* The maximum simultaneous links to different devices. */ -#ifndef MAX_BD_CONNECTIONS +#ifndef MAX_ACL_CONNECTIONS #define MAX_BD_CONNECTIONS 1 +#else +#define MAX_BD_CONNECTIONS MAX_ACL_CONNECTIONS #endif /* The port receive queue low watermark level, in bytes. */ |