component/bt: change the MAX_L2CAP_CHANNELS macro from 2 to MAX_ACL_CONNECTIONS when in the BLE only mode.

This commit is contained in:
Yulong 2017-06-16 03:46:46 -04:00
parent f114ef4a6a
commit 0d318ea2da

View File

@ -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