drivers: wifi: esp32: Fix buffer config

Prevent to allocate buffers cache if Wi-Fi heap is not used.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
This commit is contained in:
Marek Matej 2025-06-16 21:16:23 +02:00 committed by Anas Nashif
commit 720db7bf5e

View file

@ -166,7 +166,7 @@ config ESP32_WIFI_STATIC_TX_BUFFER_NUM
config ESP32_WIFI_CACHE_TX_BUFFER_NUM
int "Max number of WiFi cache TX buffers"
depends on ESP_SPIRAM
depends on ESP_SPIRAM && ESP_WIFI_HEAP_SPIRAM
range 16 128
default 32
help