qcacld-3.0: Fix refill thread getting stuck in suspend state
Currently during wlan suspend DP refill thread is suspended first then RX thread is suspended but if RX thread suspend fails then refill thread should be resumed if not refill thread will be stuck in suspend state forever. To avoid refill thread getting stuck in suspend state, resume refill thread when RX thread suspend failure is encountered. Change-Id: I2dfdfa881bb3cb660b83067c796d3a833b86ef5f CRs-Fixed: 3054903
This commit is contained in:
parent
ae31ad41d3
commit
013043d9c0
@ -245,6 +245,8 @@ static inline QDF_STATUS dp_txrx_suspend(ol_txrx_soc_handle soc)
|
||||
}
|
||||
|
||||
qdf_status = dp_rx_tm_suspend(&dp_ext_hdl->rx_tm_hdl);
|
||||
if (QDF_IS_STATUS_ERROR(qdf_status) && refill_thread->enabled)
|
||||
dp_rx_refill_thread_resume(refill_thread);
|
||||
|
||||
ret:
|
||||
return qdf_status;
|
||||
|
Loading…
Reference in New Issue
Block a user