diff --git a/samples/net/wifi/shell/boards/overlay_hostap_rw612.conf b/samples/net/wifi/shell/boards/overlay_hostap_rw612.conf index eb79c28e55dc7d..79fa9b7ed39171 100644 --- a/samples/net/wifi/shell/boards/overlay_hostap_rw612.conf +++ b/samples/net/wifi/shell/boards/overlay_hostap_rw612.conf @@ -25,7 +25,9 @@ CONFIG_ENTROPY_GENERATOR=y CONFIG_MBEDTLS_PSA_CRYPTO_C=y CONFIG_MBEDTLS_ENTROPY_C=y CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=8192 -CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=80000 +# mbedtls heap for enterprise case +CONFIG_MBEDTLS_ENABLE_HEAP=y +CONFIG_MBEDTLS_HEAP_SIZE=69952 #priority CONFIG_WIFI_NM_WPA_SUPPLICANT_WQ_PRIO=3