summaryrefslogtreecommitdiff
path: root/qcwcn/wifi_hal/gscan_event_handler.cpp
diff options
context:
space:
mode:
authorSubhani Shaik <subhanis@qca.qualcomm.com>2016-03-03 16:47:39 -0800
committerSubhani Shaik <subhanis@qca.qualcomm.com>2016-03-04 10:47:08 -0800
commit711720c58c83875d04fb80c46b39908b973081b1 (patch)
tree02940f53709b930ad82b01ebd79662bd65d6a44c /qcwcn/wifi_hal/gscan_event_handler.cpp
parent9ca83b58e3f1314925a40ba684e1731fa0e58a69 (diff)
downloadwlan-711720c58c83875d04fb80c46b39908b973081b1.tar.gz
Wifi-Hal: Remove debug messages
Remove unwanted log messages in the Wifihal code. Change-Id: Ib87db2f1714a858e6a2ae0d71d0cdb3bc028ddef BUG=27357943
Diffstat (limited to 'qcwcn/wifi_hal/gscan_event_handler.cpp')
-rw-r--r--qcwcn/wifi_hal/gscan_event_handler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/qcwcn/wifi_hal/gscan_event_handler.cpp b/qcwcn/wifi_hal/gscan_event_handler.cpp
index 063f865..786faf8 100644
--- a/qcwcn/wifi_hal/gscan_event_handler.cpp
+++ b/qcwcn/wifi_hal/gscan_event_handler.cpp
@@ -1142,8 +1142,10 @@ int GScanCommandEventHandler::handleEvent(WifiEvent &event)
nla_get_u32(
tbVendor[
QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_SCAN_RESULT_IE_LENGTH]);
+#ifdef QC_HAL_DEBUG
ALOGD("%s: RESULTS_SCAN_RESULT_IE_LENGTH =%d",
__FUNCTION__, lengthOfInfoElements);
+#endif
resultsBufSize =
lengthOfInfoElements + sizeof(wifi_scan_result);
result = (wifi_scan_result *) malloc (resultsBufSize);
@@ -1766,9 +1768,10 @@ int GScanCommandEventHandler::handleEvent(WifiEvent &event)
u32 scanEventStatus = 0;
wifi_request_id reqId;
+#ifdef QC_HAL_DEBUG
ALOGD("Event QCA_NL80211_VENDOR_SUBCMD_GSCAN_SCAN_EVENT "
"received.");
-
+#endif
if (!tbVendor[
QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_REQUEST_ID])
{