summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimanshu Agarwal <himanaga@codeaurora.org>2016-09-08 19:40:20 +0530
committerHimanshu Agarwal <himanaga@codeaurora.org>2016-09-15 14:12:37 +0530
commitd0a93f28b0e367ccf03480ddd324f9ea5c178bf6 (patch)
tree1f66a1bafc978f91d41194a0c1fa4a023c91effb
parent1b4e13388452267aaf40aad38b72fda1f13af8ad (diff)
qcacld-2.0: Enable DEBUG_HL_LOGGING for all HL targets
Enable DEBUG_HL_LOGGING for all HL targets by defining the DEBUG_HL_LOGGING macro for all HL targets in Kbuild. Change-Id: I37ce3fc0986f0263d1f6799bd746f720a222dd4c CRs-Fixed: 1067283
-rw-r--r--CORE/CLD_TXRX/TXRX/ol_tx_queue.c2
-rw-r--r--Kbuild4
2 files changed, 3 insertions, 3 deletions
diff --git a/CORE/CLD_TXRX/TXRX/ol_tx_queue.c b/CORE/CLD_TXRX/TXRX/ol_tx_queue.c
index ed43fb0d48db..fb065afe02e9 100644
--- a/CORE/CLD_TXRX/TXRX/ol_tx_queue.c
+++ b/CORE/CLD_TXRX/TXRX/ol_tx_queue.c
@@ -1379,7 +1379,7 @@ ol_tx_queue_log_entry_type_info(
struct ol_tx_log_queue_state_var_sz_t *record;
align_pad =
- (*align - ((((u_int32_t) type) + 1))) & (*align - 1);
+ (*align - (uint32_t)(((unsigned long) type) + 1)) & (*align - 1);
record = (struct ol_tx_log_queue_state_var_sz_t *)
(type + 1 + align_pad);
*size += record->num_cats_active *
diff --git a/Kbuild b/Kbuild
index 8bf464534bb2..94b73edc1522 100644
--- a/Kbuild
+++ b/Kbuild
@@ -1036,7 +1036,8 @@ CDEFINES += -DCONFIG_HL_SUPPORT \
-DHIF_SDIO \
-DCONFIG_ATH_PROCFS_DIAG_SUPPORT \
-DFEATURE_HL_GROUP_CREDIT_FLOW_CONTROL \
- -DHIF_MBOX_SLEEP_WAR
+ -DHIF_MBOX_SLEEP_WAR \
+ -DDEBUG_HL_LOGGING
endif
ifeq ($(CONFIG_WLAN_FEATURE_DSRC), y)
@@ -1053,7 +1054,6 @@ endif
ifeq ($(CONFIG_ARCH_MDM9607), y)
ifeq ($(CONFIG_QCA_WIFI_SDIO), 1)
-CDEFINES += -DDEBUG_HL_LOGGING
CDEFINES += -DHIF_SYNC_READ
endif
endif