summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@qca.qualcomm.com>2014-05-22 13:10:29 -0700
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-05-27 17:05:04 -0700
commite8aaf2867d7bda425ce988913c1ad597444ca30e (patch)
tree6bc5aa1132444450d35bfbb3846448169f443371
parent7501cdc75ab5be6bda2ca703624dd633e3b67487 (diff)
wlan: scan log level change
Change the scan log level to display when scan request was issued and how many BSS found Change-Id: Idc1527419c08e5c8d376f180df51d599b46032bd CRs-Fixed: 667187
-rw-r--r--CORE/HDD/src/wlan_hdd_cfg80211.c1
-rw-r--r--CORE/SME/src/csr/csrApiScan.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 4a92972e52a4..96473098e641 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -5572,6 +5572,7 @@ int wlan_hdd_cfg80211_scan( struct wiphy *wiphy,
v_U8_t* pP2pIe = NULL;
ENTER();
+ hddLog(VOS_TRACE_LEVEL_ERROR, "received scan request");
MTRACE(vos_trace(VOS_MODULE_ID_HDD,
TRACE_CODE_HDD_CFG80211_SCAN,
diff --git a/CORE/SME/src/csr/csrApiScan.c b/CORE/SME/src/csr/csrApiScan.c
index 28b0e3cdeaf3..05cd1bc86d69 100644
--- a/CORE/SME/src/csr/csrApiScan.c
+++ b/CORE/SME/src/csr/csrApiScan.c
@@ -5097,7 +5097,9 @@ static tANI_BOOLEAN csrScanProcessScanResults( tpAniSirGlobal pMac, tSmeCmd *pCo
}while(0);
if ( eSIR_SME_MORE_SCAN_RESULTS_FOLLOW != pScanRsp->statusCode )
{
- smsLog(pMac, LOG1, " Scan received %d unique BSS scan reason is %d", csrLLCount(&pMac->scan.tempScanResults), pCommand->u.scanCmd.reason);
+ smsLog(pMac, LOGE, "Found %d BSS",
+ csrLLCount(&pMac->scan.tempScanResults));
+ smsLog(pMac, LOG1, "scan reason is %d", pCommand->u.scanCmd.reason);
fRemoveCommand = csrScanComplete( pMac, pScanRsp );
fRet = eANI_BOOLEAN_TRUE;
}//if ( eSIR_SME_MORE_SCAN_RESULTS_FOLLOW != pScanRsp->statusCode )