From de166facd7552f193461cd9bbf7d212459979ca3 Mon Sep 17 00:00:00 2001 From: lly Date: Fri, 25 Dec 2020 16:04:22 +0800 Subject: [PATCH] ble_mesh: stack: Update mesh max conn macro when using bluedroid --- .../bt/esp_ble_mesh/mesh_core/include/mesh_bearer_adapt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/esp_ble_mesh/mesh_core/include/mesh_bearer_adapt.h b/components/bt/esp_ble_mesh/mesh_core/include/mesh_bearer_adapt.h index cc3d2b7bfc..25068554d0 100644 --- a/components/bt/esp_ble_mesh/mesh_core/include/mesh_bearer_adapt.h +++ b/components/bt/esp_ble_mesh/mesh_core/include/mesh_bearer_adapt.h @@ -22,7 +22,7 @@ extern "C" { /* BLE Mesh Max Connection Count */ #ifdef CONFIG_BT_BLUEDROID_ENABLED -#define BLE_MESH_MAX_CONN MIN(CONFIG_BT_ACL_CONNECTIONS, CONFIG_BTDM_CTRL_BLE_MAX_CONN) +#define BLE_MESH_MAX_CONN CONFIG_BT_ACL_CONNECTIONS #endif #ifdef CONFIG_BT_NIMBLE_ENABLED