diff options
| author | Mukul Sharma <mukul@qti.qualcomm.com> | 2015-10-08 21:50:02 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2015-10-14 14:32:06 +0530 |
| commit | be5dee9eefc3f13beaaf3ed5e6ce6223c3963845 (patch) | |
| tree | e91536f510fbdf775cbc347462ce67884fe1793b | |
| parent | 31839e8ca49dd30853830e7e0f3ffa9ee716ed21 (diff) | |
qcacld-2.0: Process WOW D0 disable event in the tasklet context
Currently WOW D0 disable event is processed in work thread which may be
delayed to schedule. Directly complete the event in tasklet in order
to proceed it in time. Also make sure the WOW D0 disable event handler
is in atomic context.
Change-Id: I655ba809376543ad6252de4cad7db37628f78c25
CRs-Fixed: 920404
| -rw-r--r-- | CORE/SERVICES/WMI/wmi_unified.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CORE/SERVICES/WMI/wmi_unified.c b/CORE/SERVICES/WMI/wmi_unified.c index eb4805c13882..addcc79a28b4 100644 --- a/CORE/SERVICES/WMI/wmi_unified.c +++ b/CORE/SERVICES/WMI/wmi_unified.c @@ -891,7 +891,8 @@ void wmi_control_rx(void *ctx, HTC_PACKET *htc_packet) id = WMI_GET_FIELD(adf_nbuf_data(evt_buf), WMI_CMD_HDR, COMMANDID); /* TX_PAUSE EVENT should be handled with tasklet context */ if ((WMI_TX_PAUSE_EVENTID == id) || - (WMI_WOW_WAKEUP_HOST_EVENTID == id)) { + (WMI_WOW_WAKEUP_HOST_EVENTID == id) || + (WMI_D0_WOW_DISABLE_ACK_EVENTID == id)) { if (adf_nbuf_pull_head(evt_buf, sizeof(WMI_CMD_HDR)) == NULL) return; |
