mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Reset suspend_event before waiting for it
In dp_rx_tm_suspend, suspend_event should be reset before waiting for it. otherwise, the suspend function will be break. Change-Id: I9132f45b02386c54fb8e27f0f7c2c71205450c9d CRs-Fixed: 2606227
This commit is contained in:
parent
6d6e49735f
commit
7ec9ead8d1
1 changed files with 1 additions and 0 deletions
|
|
@ -664,6 +664,7 @@ QDF_STATUS dp_rx_tm_suspend(struct dp_rx_tm_handle *rx_tm_hdl)
|
|||
for (i = 0; i < rx_tm_hdl->num_dp_rx_threads; i++) {
|
||||
if (!rx_tm_hdl->rx_thread[i])
|
||||
continue;
|
||||
qdf_event_reset(&rx_tm_hdl->rx_thread[i]->suspend_event);
|
||||
qdf_set_bit(RX_SUSPEND_EVENT,
|
||||
&rx_tm_hdl->rx_thread[i]->event_flag);
|
||||
qdf_wake_up_interruptible(&rx_tm_hdl->rx_thread[i]->wait_q);
|
||||
|
|
|
|||
Loading…
Reference in a new issue