f5c868fc78d9ee42137a6098e201aa5f81006340

When wifi is turned off, if the connectivity logging queue is not empty, the wlan logging thread tries to dequeue the record and send the logging event to the userspace. While performing dequeue operation, the records from queue are copied to temporary buffer before read pointer is incremented. There could be a condition where this buffer is allocated in ini domain after stop modules is done and freed in active domain if the wlan_logging thread is preempted during stop modules. So to avoid this domain mismatch, start the queue only if start_modules is done and stop the queue after stop modules to avoid dequeue being done during/after stop modules. Change-Id: Ied8c36b19bc66474d3c4d8f913f3e3dbf9a574a0 CRs-Fixed: 3035644
This is CNSS WLAN Host Driver for products starting from iHelium
Omschrijving
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%