diff options
| author | Kiran Kumar Lokere <klokere@qca.qualcomm.com> | 2016-05-25 17:15:33 -0700 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-05-26 18:13:32 +0530 |
| commit | 5d354533a008d07205a27ed07c19e36a2c9786d8 (patch) | |
| tree | 473e7a51642efd5473e1c2f186d335446ea93669 | |
| parent | c407c882309bf3427b32a05664b5c40ac0168a76 (diff) | |
qcacld-2.0: Remove the PS check in suspend req
FW can enter into suspend mode even if the BMPS is not enabled.
Hence power save check is not required in suspend request.
Change-Id: Ic2b774cea10516ea0b23141922ba1e16aa33f395
CRs-Fixed: 974918
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index f939dfb10156..ce06cc046ea9 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -23757,18 +23757,6 @@ int __wlan_hdd_cfg80211_suspend_wlan(struct wiphy *wiphy, return -EAGAIN; } - if (pHddCtx->cfg_ini->enablePowersaveOffload && - pHddCtx->cfg_ini->fIsBmpsEnabled && - ((WLAN_HDD_INFRA_STATION == pAdapter->device_mode) || - (WLAN_HDD_P2P_CLIENT == pAdapter->device_mode))) { - if (!sme_PsOffloadIsStaInPowerSave(pHddCtx->hHal, - pAdapter->sessionId)) { - hddLog(VOS_TRACE_LEVEL_DEBUG, - FL("STA is not in power save, Do not allow suspend")); - return -EAGAIN; - } - } - if (pScanInfo->mScanPending && pAdapter->request) { INIT_COMPLETION(pScanInfo->abortscan_event_var); |
