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

xiaoxiang pushed a commit to branch releases/12.3
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit ed31f3c1d2fedabe93b11ef7be0ac2e345cfe60f
Author: Alan Carvalho de Assis <acas...@gmail.com>
AuthorDate: Sun Oct 15 10:59:23 2023 -0300

    net: Fix RNDIS compilation error
    
    The minimum value to CONFIG_NET_LL_GUARDSIZE work
    with USB RNDIS support is 50.
---
 net/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/Kconfig b/net/Kconfig
index 3a67f2eb42..f2babaa273 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -119,6 +119,7 @@ config NET_GUARDSIZE
 
 config NET_LL_GUARDSIZE
        int "Data Link Layer(L2) Guard size of Network buffer(IOB)"
+       default 50 if RNDIS
        default 16 if NET_CAN && NET_TIMESTAMP
        default 14 if NET_ETHERNET
        default 0

Reply via email to