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

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


The following commit(s) were added to refs/heads/master by this push:
     new aebc46f  porting/linux: Fix missing MYNEWT_VAL define
aebc46f is described below

commit aebc46f61f173d6e0cf9ed19f3b277cc259fb596
Author: MichaƂ Narajowski <michal.narajow...@codecoup.pl>
AuthorDate: Thu Jan 31 17:12:22 2019 +0100

    porting/linux: Fix missing MYNEWT_VAL define
    
    Fixes a regression introduced in Nimble PR #315.
---
 porting/examples/linux/include/syscfg/syscfg.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/porting/examples/linux/include/syscfg/syscfg.h 
b/porting/examples/linux/include/syscfg/syscfg.h
index 244aad8..01eeb2d 100644
--- a/porting/examples/linux/include/syscfg/syscfg.h
+++ b/porting/examples/linux/include/syscfg/syscfg.h
@@ -605,6 +605,10 @@
 #define MYNEWT_VAL_BLE_L2CAP_COC_MAX_NUM (1)
 #endif
 
+#ifndef MYNEWT_VAL_BLE_L2CAP_COC_MTU
+#define MYNEWT_VAL_BLE_L2CAP_COC_MTU (MYNEWT_VAL_MSYS_1_BLOCK_SIZE - 8)
+#endif
+
 #ifndef MYNEWT_VAL_BLE_L2CAP_JOIN_RX_FRAGS
 #define MYNEWT_VAL_BLE_L2CAP_JOIN_RX_FRAGS (1)
 #endif

Reply via email to