summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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