From e1044069d8e97a855cf29cc5795466d0737bbac2 Mon Sep 17 00:00:00 2001 From: "Gupta, Kapil" Date: Mon, 26 Oct 2015 14:56:30 +0530 Subject: [PATCH] qcacld-3.0: Stop overwriting pnoOffload value with dummy value. qcacld-2.0 to qcacld-3.0 propagation Currently tpAniSirGlobal pnoOffload value is initialized with FW caps first time only and resetting to 0 while starting a bss in go mode. Existing value of pnoOffload is not retained while getting config for tSmeConfigParams. Added changes to retain current value of pnoOffload from tpAniSirGlobal while getting config for new tSmeConfigParams. Change-Id: I0eda12ec1c69aeca4465d41f3e3ba96b8e1944cb CRs-Fixed: 913994 --- core/sme/src/common/sme_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 6c8ef59444b1..a4f8c06ea19f 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -4325,6 +4325,7 @@ CDF_STATUS sme_get_config_param(tHalHandle hHal, tSmeConfigParams *pParam) #endif /* FEATURE_AP_MCC_CH_AVOIDANCE */ pParam->max_intf_count = pMac->sme.max_intf_count; pParam->enableSelfRecovery = pMac->sme.enableSelfRecovery; + pParam->pnoOffload = pMac->pnoOffload; pParam->f_prefer_non_dfs_on_radar = pMac->f_prefer_non_dfs_on_radar; pParam->policy_manager_enabled = pMac->policy_manager_enabled;