diff options
| author | Abhishek Singh <absingh@qti.qualcomm.com> | 2016-05-17 05:26:42 -0700 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-05-20 17:28:56 +0530 |
| commit | 9ac20cc3adb1d66a7eeee9936ba80b250e668b4e (patch) | |
| tree | 289fd974b2720696a5324a34c587a821c68aa39b | |
| parent | 443dcd682296c3615e27beb6e37ca31d9f625840 (diff) | |
Revert "qcacld-2.0: Allow power save to be controlled by iw command"
This reverts commit Ia00abb73efbb1425ef9a3862c1ea2a88506ffd9a
"qcacld-2.0: Allow power save to be controlled by iw command".
This change is causing the regression in P2P power cert case.
Also this change is no longer needed as the original issue is
fixed by commit I5fd939b0642d25b3a75d74ed3c7878f68d8d14d6
"qcacld-2.0: Allow power save to be controlled by iw command".
Change-Id: I5c3874fddfbbfc66dd7cd8f8825af92620c16d2d
CRs-Fixed: 1017801
| -rw-r--r-- | CORE/SME/src/pmc/pmcApi.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/CORE/SME/src/pmc/pmcApi.c b/CORE/SME/src/pmc/pmcApi.c index dbadeef6216e..552c65078b5f 100644 --- a/CORE/SME/src/pmc/pmcApi.c +++ b/CORE/SME/src/pmc/pmcApi.c @@ -3570,8 +3570,6 @@ eHalStatus PmcOffloadEnableStaModePowerSave(tHalHandle hHal, if(!pmc->configStaPsEnabled) { eHalStatus status; - - pmc->configStaPsEnabled = TRUE; status = pmcOffloadEnableStaPsHandler(pMac, sessionId); if((eHAL_STATUS_SUCCESS == status) || @@ -3581,6 +3579,7 @@ eHalStatus PmcOffloadEnableStaModePowerSave(tHalHandle hHal, smsLog(pMac, LOG2, FL("Successful Queued Enabling Sta Mode Ps Request")); + pmc->configStaPsEnabled = TRUE; return eHAL_STATUS_SUCCESS; } else @@ -3613,7 +3612,6 @@ eHalStatus PmcOffloadDisableStaModePowerSave(tHalHandle hHal, eHalStatus status = eHAL_STATUS_SUCCESS; if (pmc->configStaPsEnabled) { - pmc->configDefStaPsEnabled = FALSE; status = pmcOffloadDisableStaPsHandler(pMac, sessionId); } else { /* @@ -4127,13 +4125,6 @@ eHalStatus PmcOffloadEnableDeferredStaModePowerSave(tHalHandle hHal, eHalStatus status = eHAL_STATUS_FAILURE; tANI_U32 timer_value; - if (!pmc->configStaPsEnabled) - { - smsLog(pMac, LOGE, - FL("STA Mode Config PowerSave is not enabled")); - return status; - } - if (!pMac->pmcOffloadInfo.staPsEnabled) { smsLog(pMac, LOGE, |
