summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandeep Puligilla <spuligil@qca.qualcomm.com>2015-04-29 18:04:54 -0700
committerAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2015-04-30 19:08:22 +0530
commite7cbf20385ee3f56cc3fc54029f990b6a7472a99 (patch)
tree8f7779a31aae6af6b028aa073b06daa3b4d0f437
parent630dcada443300f01490d676f9335bbac7ab6f54 (diff)
qcacld: Fix x86 compilation error after SAP ACS update
Fix some compilation after SAP ACS parameter update. Change-Id: Ieb05a70fd743e5c1c0ba91ff953c8ca09b57700b CRs-fixed: 830606
-rw-r--r--CORE/SAP/src/sapChSelect.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/CORE/SAP/src/sapChSelect.c b/CORE/SAP/src/sapChSelect.c
index e616d2da0bde..fb9e0f01ee92 100644
--- a/CORE/SAP/src/sapChSelect.c
+++ b/CORE/SAP/src/sapChSelect.c
@@ -89,14 +89,11 @@
#define SET_ACS_BAND(acs_band, pSapCtx) \
{ \
- if (pSapCtx->acs_cfg->hw_mode == eCSR_DOT11_MODE_11n || \
- pSapCtx->acs_cfg->hw_mode == eCSR_DOT11_MODE_11ac) { \
- if (pSapCtx->acs_cfg->start_ch <= 14 && \
- pSapCtx->acs_cfg->end_ch <= 14) \
- acs_band = eCSR_DOT11_MODE_11g; \
- else \
- acs_band = eCSR_DOT11_MODE_11a;\
- } \
+ if (pSapCtx->acs_cfg->start_ch <= 14 && \
+ pSapCtx->acs_cfg->end_ch <= 14) \
+ acs_band = eCSR_DOT11_MODE_11g; \
+ else \
+ acs_band = eCSR_DOT11_MODE_11a;\
}
#ifdef FEATURE_WLAN_CH_AVOID
@@ -1538,7 +1535,7 @@ void sapComputeSpectWeight( tSapChSelSpectInfo* pSpectInfoParams,
tCsrScanResultInfo *pScanResult;
tSapSpectChInfo *pSpectCh = pSpectInfoParams->pSpectCh;
- v_U32_t operatingBand;
+ v_U32_t operatingBand = eCSR_DOT11_MODE_11g;
v_U16_t channelWidth;
v_U16_t secondaryChannelOffset;
v_U16_t centerFreq;