summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Xu <pxu@qca.qualcomm.com>2014-03-26 15:03:00 -0700
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-03-26 21:24:33 -0700
commit3bacacace40ce2e6e62fed5aab07cbf9d3515b4d (patch)
tree45d69babc6d3900c91f2679bfa4c084a215fb0fb
parent5ac595adc1de6260bdcf85ef69269ec16b8136df (diff)
qcacld:sap: Fixed compilation error for x86
Code was placed inside wrong comiplation flag which caused compilation error on x86 platform. Change-Id: I75b1a0938313cf287be45af92cf258982dffbe84
-rw-r--r--CORE/SAP/src/sapChSelect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/CORE/SAP/src/sapChSelect.c b/CORE/SAP/src/sapChSelect.c
index e9192dafff5f..eb0a5fe97aa2 100644
--- a/CORE/SAP/src/sapChSelect.c
+++ b/CORE/SAP/src/sapChSelect.c
@@ -141,6 +141,7 @@ sapSafeChannelType safeChannels[NUM_20MHZ_RF_CHANNELS] =
{161, VOS_TRUE}, //RF_CHAN_161,
{165, VOS_TRUE}, //RF_CHAN_165,
};
+#endif
typedef struct
{
@@ -174,6 +175,7 @@ sapAcsChannelInfo acsHT80Channels[ ] = {
{149, ACS_WEIGHT_MAX},
};
+#ifdef FEATURE_WLAN_CH_AVOID
/*==========================================================================
FUNCTION sapUpdateUnsafeChannelList