mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: Remove the PS timer check in suspend req
FW can enter into suspend mode even if the BMPS is not enabled. Hence the auto PS timer check is not required in suspend request. Change-Id: Ic2b774cea10516ea0b23141922ba1e16aa33f395 CRs-Fixed: 974918
This commit is contained in:
parent
30a966ecd7
commit
40a9d8da1f
1 changed files with 0 additions and 15 deletions
|
|
@ -1923,21 +1923,6 @@ static int __wlan_hdd_cfg80211_suspend_wlan(struct wiphy *wiphy,
|
|||
return -EAGAIN;
|
||||
}
|
||||
|
||||
if (pHddCtx->config->is_ps_enabled) {
|
||||
if (sme_is_auto_ps_timer_running(pHddCtx->hHal,
|
||||
pAdapter->sessionId)) {
|
||||
hddLog(LOGE,
|
||||
FL("Auto Power save timer is running; Do not allow suspend"));
|
||||
return -EAGAIN;
|
||||
} else {
|
||||
sme_ps_enable_disable(pHddCtx->hHal,
|
||||
pAdapter->sessionId,
|
||||
SME_PS_ENABLE);
|
||||
hddLog(LOG1,
|
||||
FL("Auto PS timer is not running; allow suspend and enter into power save"));
|
||||
}
|
||||
}
|
||||
|
||||
if (pScanInfo->mScanPending) {
|
||||
INIT_COMPLETION(pScanInfo->abortscan_event_var);
|
||||
hdd_abort_mac_scan(pHddCtx, pAdapter->sessionId,
|
||||
|
|
|
|||
Loading…
Reference in a new issue