mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
qcacld-3.0: Enable locks to serialization component
Serialization component's APIs may get called by various component owners through different thread contexts. This makes lock a mandatory requirement in order to prevent any shared data corruption. Change-Id: I01e7727f1717c245a81a2dc760011488f4c4ba95 CRs-Fixed: 2272624
This commit is contained in:
parent
318221cd6f
commit
91e834de48
1 changed files with 3 additions and 0 deletions
3
Kbuild
3
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue