diff --git a/Kbuild b/Kbuild index ffb3aa360056..e955704c959a 100644 --- a/Kbuild +++ b/Kbuild @@ -1995,6 +1995,9 @@ cppflags-y += -DATH_SUPPORT_WRAP=0 cppflags-y += -DQCA_HOST2FW_RXBUF_RING #endof dummy flags +# Enable lock of serialization component to avoid race condition issues +cppflags-y += -DWLAN_CMD_SERIALIZATION_LOCKING + ccflags-$(CONFIG_ENABLE_SIZE_OPTIMIZE) += -Os # DFS component