diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index 445c91c29e..92f12e8263 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -661,7 +661,8 @@ menu "LWIP" int "The maximum number of pbufs queued on OOSEQ per pcb" depends on LWIP_TCP_QUEUE_OOSEQ range 0 12 - default 4 + default 4 if !SPIRAM_TRY_ALLOCATE_WIFI_LWIP + default 0 if SPIRAM_TRY_ALLOCATE_WIFI_LWIP help If LWIP_TCP_OOSEQ_MAX_PBUFS = 0, TCP will not control the number of OOSEQ pbufs.