summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hsu <ryanhsu@qca.qualcomm.com>2015-12-17 12:22:02 -0800
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2015-12-18 13:58:22 +0530
commit71cbddd17b84ea2bcf506ecd0081f27c6b3cd74b (patch)
treece59522d269db3dc6c607abbeb0cbd50671b9dbe
parent306e513055fba0b5ca72196054541406e95c3c0d (diff)
qcacld-2.0: fix regression for STA PNO WoW
This is to fix the regression in the case of suspend request. Below patch overkills the case for PNO and extscan in progress. Commit Subject: "Fix the PNO WoW is not configured in concurrency case" change id: I97084cfde73025f0d09b60616959c9530ba82c80 The combined condition check should be maintained to check the case for PNO or extscan in progress, otherwise the WoW would be enabled in the case PNO in progress is not enabled, and end up not setting PNO patterns and failed to reconnect after resume. Change-Id: Icc5f19d07abea9fb25479452ce1c467d7811317c CRs-fixed: 953257
-rw-r--r--CORE/SERVICES/WMA/wma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c
index 290e98f04f60..6986bcc11173 100644
--- a/CORE/SERVICES/WMA/wma.c
+++ b/CORE/SERVICES/WMA/wma.c
@@ -21374,7 +21374,7 @@ suspend_all_iface:
wma->wow.gtk_pdev_enable);
}
- if (!enable_wow) {
+ if (!enable_wow && !pno_in_progress && !extscan_in_progress) {
WMA_LOGD("All vdev are in disconnected state and pno/extscan is not in progress, skipping wow");
vos_mem_free(info);
goto send_ready_to_suspend;