This is an automated email from the ASF dual-hosted git repository.

ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git

commit ecebb23aa1ac82449bed98871e2a1349484a5226
Author: Christopher Collins <ccoll...@apache.org>
AuthorDate: Tue Feb 13 15:07:09 2018 -0800

    (zephyr) Reduce L2CAP buf count in smp_svr.
    
    The high buffer count is no longer needed now that
    https://github.com/zephyrproject-rtos/zephyr/pull/6110 has been merged.
---
 README-zephyr.md                | 4 ----
 samples/smp_svr/zephyr/prj.conf | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/README-zephyr.md b/README-zephyr.md
index 6c9581b..e060e5c 100644
--- a/README-zephyr.md
+++ b/README-zephyr.md
@@ -13,7 +13,3 @@ are described below:
 | `CONFIG_MCUMGR_CMD_IMG_MGMT` | Enable mcumgr handlers for image management | 
n |
 | `CONFIG_MCUMGR_CMD_LOG_MGMT` | Enable mcumgr handlers for log management | n 
|
 | `CONFIG_MCUMGR_CMD_OS_MGMT` | Enable mcumgr handlers for OS management | n |
-
-### Known issues
-
-If the Bluetooth stack runs out of ACL transmit buffers while a large mcumgr 
response is being sent, the buffers never get freed.  This appears to trigger a 
net_buf leak in the stack.
diff --git a/samples/smp_svr/zephyr/prj.conf b/samples/smp_svr/zephyr/prj.conf
index 3939fbb..ed3d179 100644
--- a/samples/smp_svr/zephyr/prj.conf
+++ b/samples/smp_svr/zephyr/prj.conf
@@ -7,10 +7,6 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
 # Ensure an MCUboot-compatible binary is generated.
 CONFIG_BOOTLOADER_MCUBOOT=y
 
-# Increase the number of transmit buffers to avoid the Bluetooth stack buffer
-# leak.
-CONFIG_BT_L2CAP_TX_BUF_COUNT=8
-
 # Allow for large Bluetooth data packets.
 CONFIG_BT_L2CAP_TX_MTU=260
 CONFIG_BT_RX_BUF_LEN=260

-- 
To stop receiving notification emails like this one, please contact
ccoll...@apache.org.

Reply via email to