From f279a4a02a2624145e6c87bef9a7beac8e0c2a85 Mon Sep 17 00:00:00 2001 From: "Ruchi, Agrawal" Date: Mon, 26 Feb 2018 18:12:44 +0530 Subject: [PATCH] qcacmn: Correcting CCE Disable Param check CCE disable param set based on return value which has to be checked for 1, instead of any return value non zero Change-Id: Ia48e5d0f50a49944dbf7ca048aab1220d8989beb CRs-Fixed: 2132295 --- dp/wifi3.0/dp_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index d7c9cf6b3e57..47659d7012a3 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -6864,7 +6864,7 @@ void *dp_soc_attach_wifi3(void *ctrl_psoc, void *hif_handle, ret = soc->cdp_soc.ol_ops->get_dp_cfg_param(soc->ctrl_psoc, CDP_CFG_CCE_DISABLE); - if (ret) + if (ret == 1) soc->cce_disable = true; }