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

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

commit 372a0f2dc0b45b1210debcbf43e0692b07abef31
Author: MichaƂ Narajowski <[email protected]>
AuthorDate: Thu May 27 10:20:19 2021 +0200

    Revert "mesh: Get rid of magic number in cmd_get_comp"
    
    This reverts commit c5f9d9a3c49125759a25b54119d58d867c0fc62c.
---
 nimble/host/mesh/src/shell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/host/mesh/src/shell.c b/nimble/host/mesh/src/shell.c
index 0a27e27..ade9cd6 100644
--- a/nimble/host/mesh/src/shell.c
+++ b/nimble/host/mesh/src/shell.c
@@ -997,7 +997,7 @@ struct shell_cmd_help cmd_timeout_help = {
 
 static int cmd_get_comp(int argc, char *argv[])
 {
-       struct os_mbuf *comp = NET_BUF_SIMPLE(BT_MESH_RX_SDU_MAX);
+       struct os_mbuf *comp = NET_BUF_SIMPLE(32);
        uint8_t status, page = 0x00;
        int err = 0;
 

Reply via email to