From 555ece93deab864941f5b7bb4b3d5c980cebf61f Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Thu, 11 Apr 2024 00:54:21 +0530 Subject: [PATCH] modules: hostap: Increase the stack size for net_mgmt Due to recent changes in hostap to move few buffers from heap->stack (to improve the reliability of allocations) this has increased the stack size and with another recent change to increase the max polling sockets this puts over the 4096 stack size for net_mgmt causing stack overflow. Increase the stack size for net_mgmt to fix SHEL-2640 and SHEL-2676. Signed-off-by: Chaitanya Tata --- modules/hostap/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hostap/Kconfig b/modules/hostap/Kconfig index cefccfc611f2..15847a591cf0 100644 --- a/modules/hostap/Kconfig +++ b/modules/hostap/Kconfig @@ -202,7 +202,7 @@ config BSS_MAX_IDLE_TIME # Control interface is stack heavy (buffers + snprintfs) # Making calls to RPU from net_mgmt callbacks (status - RSSI) config NET_MGMT_EVENT_STACK_SIZE - default 4096 + default 4200 config NET_SOCKETS_POLL_MAX default 6