Propagation from qcacld-2.0 to qcacld-3.0 When a radar is indicated from WMA to HDD, it happens in a soft irq context and the dfs_radar_found flag is set by acquiring a mutex which leads to apps crash. The crash happens if the mutex for dfs_radar_found flag is being held by the main thread and as a result the soft irq thread seeking the same mutex will be put in the kernel sleep queue leading to apps crash as sleeping is not allowed in soft irq context. Fix the issue by using spinlock instead of mutexes. An exception has been made to use the spinlock in the main thread context to work around the complications involving for radar indication callback to happen in worker thread context instead of soft irq context. Change-Id: I4bc01ac8991c593ffcaf6ee532f4594cb8beba16 CRs-Fixed: 928394 |
||
---|---|---|
.. | ||
bmi | ||
cds | ||
dp | ||
hdd | ||
mac | ||
pld | ||
sap | ||
sme | ||
utils | ||
wma |