From 0d318ea2da717c4ac0f668615fa637ffbfde5faa Mon Sep 17 00:00:00 2001 From: Yulong Date: Fri, 16 Jun 2017 03:46:46 -0400 Subject: [PATCH] component/bt: change the MAX_L2CAP_CHANNELS macro from 2 to MAX_ACL_CONNECTIONS when in the BLE only mode. --- components/bt/bluedroid/include/bt_target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/bluedroid/include/bt_target.h b/components/bt/bluedroid/include/bt_target.h index 02c0486a8..283ef6855 100644 --- a/components/bt/bluedroid/include/bt_target.h +++ b/components/bt/bluedroid/include/bt_target.h @@ -729,7 +729,7 @@ #if (CLASSIC_BT_INCLUDED == TRUE) #define MAX_L2CAP_CHANNELS 8 #else -#define MAX_L2CAP_CHANNELS 2 //Not support to create l2cap channels in the BLE only mode in this bluedroid version(6.0) +#define MAX_L2CAP_CHANNELS MAX_ACL_CONNECTIONS //This is used in the BLE client when start connected with the peer device #endif ///CLASSIC_BT_INCLUDED == TRUE #endif