summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarun Reddy Yeturu <varunreddy.yeturu@codeaurora.org>2017-03-02 15:05:57 -0800
committerqcabuildsw <qcabuildsw@localhost>2017-03-07 10:38:12 -0800
commitbf082a1379c062987c87b99ca14acb18d890af22 (patch)
treecdb7f69e4b701c7d5740c1a284de894493835a1b
parent66c6ceb8361bc990cc13fecf812f1e3c983a3cec (diff)
qcacld-3.0: Fix the log level in a log message
Fix the log level from Error to Info since it is not an error and also move the message out of the if block to give more meaningful information Change-Id: Ia25bcc5b19d5b05666038b75b9a626e69b8de68c CRs-Fixed: 2014221
-rw-r--r--core/sme/src/csr/csr_neighbor_roam.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/sme/src/csr/csr_neighbor_roam.c b/core/sme/src/csr/csr_neighbor_roam.c
index eb11a057d081..bc4031c9eb46 100644
--- a/core/sme/src/csr/csr_neighbor_roam.c
+++ b/core/sme/src/csr/csr_neighbor_roam.c
@@ -1297,6 +1297,9 @@ QDF_STATUS csr_neighbor_roam_init(tpAniSirGlobal pMac, uint8_t sessionId)
pNeighborRoamInfo->cfgParams.channelInfo.numOfChannels =
pMac->roam.configParam.neighborRoamConfig.neighborScanChanList.
numChannels;
+ QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
+ FL("number of channels: %u"),
+ pNeighborRoamInfo->cfgParams.channelInfo.numOfChannels);
if (pNeighborRoamInfo->cfgParams.channelInfo.numOfChannels != 0) {
pNeighborRoamInfo->cfgParams.channelInfo.ChannelList =
qdf_mem_malloc(pMac->roam.configParam.neighborRoamConfig.
@@ -1309,9 +1312,6 @@ QDF_STATUS csr_neighbor_roam_init(tpAniSirGlobal pMac, uint8_t sessionId)
}
} else {
pNeighborRoamInfo->cfgParams.channelInfo.ChannelList = NULL;
- sms_log(pMac, LOGE,
- FL("invalid neighbor roam channel list: %u"),
- pNeighborRoamInfo->cfgParams.channelInfo.numOfChannels);
}
/* Update the roam global structure from CFG */