bcmdhd: Fixed to apply the DHD_SKIP_COREDUMP_ON_HC properly
Enable the DHD_SKIP_COREDUMP_ON_HC for Google project.
Bug: 310808379
Test: Verified on simulated by adding 10s delay in wlan_oob_irq
Change-Id: I89936e9d327bb69867699408608037e10c8dda08
Signed-off-by: Sungjoon Park <sungjoon.park@broadcom.corp-partner.google.com>
diff --git a/Kbuild b/Kbuild
index c36f095..629255c 100644
--- a/Kbuild
+++ b/Kbuild
@@ -298,12 +298,12 @@
DHDCFLAGS += -DDHD_DUMP_START_COMMAND
# Enable pktid logging
DHDCFLAGS += -DDHD_MAP_PKTID_LOGGING
+# Skip coredump for certain health check traps
+DHDCFLAGS += -DDHD_SKIP_COREDUMP_ON_HC
else
DHDCFLAGS += -DDHD_FILE_DUMP_EVENT
# The debug dump file path is blank in DHD, it is defined in HAL.
DHDCFLAGS += -DDHD_COMMON_DUMP_PATH="\"/\""
-# Skip coredump for certain health check traps
-DHDCFLAGS += -DDHD_SKIP_COREDUMP_ON_HC
endif
DHDCFLAGS := $(filter-out -DDHD_DUMP_FILE_WRITE_FROM_KERNEL ,$(DHDCFLAGS))
endif