summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);