qcacld-3.0: Controll target sleep in hif

Reduce the api footprint of hif and make hif responsible for controlling
its own timer as part of suspend resume.

Change-Id: Ifdcc95f65cd56e5987d961c01c4e35a9a93787f7
CRs-Fixed: 986480
This commit is contained in:
Houston Hoffman 2016-02-18 17:12:08 -08:00 • committed by Gerrit - the friendly Code Review server
commit f3c2e1d2df

View file

@ -3660,8 +3660,6 @@ QDF_STATUS wma_enable_wow_in_fw(WMA_HANDLE handle)
return QDF_STATUS_E_FAULT;
}
htc_cancel_deferred_target_sleep(scn);
wma->wow.wow_enable_cmd_sent = true;
return QDF_STATUS_SUCCESS;
@ -6610,8 +6608,6 @@ int wma_suspend_target(WMA_HANDLE handle, int disable_target_intr)
return -EFAULT;
}
htc_cancel_deferred_target_sleep(scn);
return 0;
}