summaryrefslogtreecommitdiffstats
path: root/include/bt_target.h
diff options
context:
space:
mode:
authorGanesh Ganapathi Batta <ganeshg@broadcom.com>2012-07-09 10:06:23 -0700
committerMatthew Xie <mattx@google.com>2012-07-26 17:31:09 -0700
commit4f2d8177155f253cda00490912bbcc66466c0c73 (patch)
tree9c35f49c6a776acecead323bef2768f30dc66566 /include/bt_target.h
parent81facba4622dd827852bf0ecb9d34e8e571ab4e4 (diff)
downloadexternal_bluetooth_bluedroid-4f2d8177155f253cda00490912bbcc66466c0c73.zip
external_bluetooth_bluedroid-4f2d8177155f253cda00490912bbcc66466c0c73.tar.gz
external_bluetooth_bluedroid-4f2d8177155f253cda00490912bbcc66466c0c73.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-xinclude/bt_target.h8
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. */