From d6ecc40c7d5622b6bad0b30e5cd9173e98a496b3 Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis Date: Sun, 15 Oct 2023 10:59:23 -0300 Subject: [PATCH] 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 3a67f2eb4214b..f2babaa2737e5 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