qcacld-3.0: Flush the recovery work as a part of idle shutdown
During idle shutdown(T1 Thread), Driver sends the PDEV suspend command to FW. If ACK is not received, driver initiates the work for self recovery. As a part of self recovery(T2 thread) driver allocates the memory and sends the force fw hang cmd and wait for the event. T1 thread continues and stop all the modules and check for mem leaks. Since t2 thread is not completed and free the memory, the crash happens as a part of mem leak check. Fix this race condition by cancelling and flushing the recovery work in cds close. CRs-Fixed: 2730021 Change-Id: Ieffff621e0838b341531c5b7feda1277ee4f70fd
Loading
Please register or sign in to comment