summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorService qcabuildsw <qcabuildsw@localhost>2016-12-27 12:00:18 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-27 12:00:19 -0800
commit3bd9b66ab2e6e947a8daf3dc6f3561c15d1a4153 (patch)
tree8ec5055c25f1bcab7b1fa39b4d33eb77145ba1bf
parentd3802ea34e1a9932ff9d2925804c9bbe4e45338d (diff)
parentdc60e56610896edb3cfed4b3baa29f6f2ece16e8 (diff)
Merge "qcacld-3.0: Remove obsolete credit check from wma suspend" into wlan-cld3.driver.lnx.1.1-dev
-rw-r--r--core/wma/src/wma_features.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c
index 4d05cea8c718..37c9791044dc 100644
--- a/core/wma/src/wma_features.c
+++ b/core/wma/src/wma_features.c
@@ -3912,15 +3912,6 @@ QDF_STATUS wma_enable_wow_in_fw(WMA_HANDLE handle, uint32_t wow_flags)
WMA_LOGD("Credits:%d; Pending_Cmds: %d",
host_credits, wmi_pending_cmds);
- if (host_credits < WMI_WOW_REQUIRED_CREDITS) {
- WMA_LOGE("%s: Host Doesn't have enough credits to Post WMI_WOW_ENABLE_CMDID! "
- "Credits:%d, pending_cmds:%d\n", __func__, host_credits,
- wmi_pending_cmds);
-#ifndef QCA_WIFI_3_0_EMU
- goto error;
-#endif
- }
-
param.enable = true;
param.can_suspend_link = htc_can_suspend_link(wma->htc_handle);
param.flags = wow_flags;