summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormukesh agrawal <quiche@google.com>2016-04-12 17:34:48 -0700
committerMukesh Agrawal <quiche@google.com>2016-04-14 18:29:37 +0000
commit1c77c745ea23ac51d6ad1500eb47f5d984c1cb3a (patch)
tree3f539df341ae22bd66e79dfe22d068204d8a3d89
parenteb7aa9f6a5f1b097e3d5b215db8d8a9b8f5364d0 (diff)
downloadwlan-1c77c745ea23ac51d6ad1500eb47f5d984c1cb3a.tar.gz
Wifi-HAL: remove some QC_HAL_DEBUG protected logs
Originally part of https://partner-android-review.googlesource.com/#/c/558740 BUG=27698661 TEST=compile Change-Id: Ia3ae5296ac890d8ce87ed374a5060512b27b789f
-rw-r--r--qcwcn/wifi_hal/cpp_bindings.cpp9
-rw-r--r--qcwcn/wifi_hal/gscan.cpp6
-rw-r--r--qcwcn/wifi_hal/gscan_event_handler.cpp4
3 files changed, 0 insertions, 19 deletions
diff --git a/qcwcn/wifi_hal/cpp_bindings.cpp b/qcwcn/wifi_hal/cpp_bindings.cpp
index fd50fbf..4e385b8 100644
--- a/qcwcn/wifi_hal/cpp_bindings.cpp
+++ b/qcwcn/wifi_hal/cpp_bindings.cpp
@@ -754,9 +754,6 @@ WifiVendorCommand::~WifiVendorCommand()
// in the corresponding object
int WifiVendorCommand::handleResponse(WifiEvent &reply)
{
-#ifdef QC_HAL_DEBUG
- ALOGI("WifiVendorCommand::handleResponse");
-#endif
struct nlattr **tb = reply.attributes();
struct nlattr *attr = NULL;
struct genlmsghdr *gnlh = reply.header();
@@ -765,9 +762,6 @@ int WifiVendorCommand::handleResponse(WifiEvent &reply)
if (tb[NL80211_ATTR_VENDOR_DATA]) {
mVendorData = (char *)nla_data(tb[NL80211_ATTR_VENDOR_DATA]);
mDataLen = nla_len(tb[NL80211_ATTR_VENDOR_DATA]);
-#ifdef QC_HAL_DEBUG
- ALOGD("%s: Vendor data len received:%d", __FUNCTION__, mDataLen);
-#endif
}
}
return NL_SKIP;
@@ -777,9 +771,6 @@ int WifiVendorCommand::handleResponse(WifiEvent &reply)
// save it in the object
int WifiVendorCommand::handleEvent(WifiEvent &event)
{
-#ifdef QC_HAL_DEBUG
- ALOGI("WifiVendorCommand::handleEvent");
-#endif
struct nlattr **tb = event.attributes();
struct nlattr *attr = NULL;
struct genlmsghdr *gnlh = event.header();
diff --git a/qcwcn/wifi_hal/gscan.cpp b/qcwcn/wifi_hal/gscan.cpp
index 2aeba64..9043b86 100644
--- a/qcwcn/wifi_hal/gscan.cpp
+++ b/qcwcn/wifi_hal/gscan.cpp
@@ -1347,9 +1347,6 @@ GScanCommand::GScanCommand(wifi_handle handle, int id, u32 vendor_id,
u32 subcmd)
: WifiVendorCommand(handle, id, vendor_id, subcmd)
{
-#ifdef QC_HAL_DEBUG
- ALOGD("GScanCommand %p constructed", this);
-#endif
/* Initialize the member data variables here */
mGetCapabilitiesRspParams = NULL;
mGetCachedResultsRspParams = NULL;
@@ -1363,9 +1360,6 @@ GScanCommand::GScanCommand(wifi_handle handle, int id, u32 vendor_id,
GScanCommand::~GScanCommand()
{
-#ifdef QC_HAL_DEBUG
- ALOGD("GScanCommand %p destructor", this);
-#endif
unregisterVendorHandler(mVendor_id, mSubcmd);
}
diff --git a/qcwcn/wifi_hal/gscan_event_handler.cpp b/qcwcn/wifi_hal/gscan_event_handler.cpp
index 1905d97..c02640e 100644
--- a/qcwcn/wifi_hal/gscan_event_handler.cpp
+++ b/qcwcn/wifi_hal/gscan_event_handler.cpp
@@ -1733,10 +1733,6 @@ 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])
{