summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiran Kumar Lokere <klokere@qca.qualcomm.com>2016-05-25 17:15:33 -0700
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-05-26 15:34:37 +0530
commit8ffd344cadb2e79c6ffde0e6234c0ade27dc67e4 (patch)
tree473e7a51642efd5473e1c2f186d335446ea93669
parent38215487a4247082827b9ea229ecdcd224f4d3cd (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.c12
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);