summaryrefslogtreecommitdiffstats
path: root/include/bt_target.h
diff options
context:
space:
mode:
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. */