summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kbuild4
-rw-r--r--core/pld/src/pld_common.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/Kbuild b/Kbuild
index d580fbc06f86..f3468f9206ec 100644
--- a/Kbuild
+++ b/Kbuild
@@ -297,8 +297,8 @@ endif
#Enable beacon reporting feature
CONFIG_WLAN_BEACON_REPORTING := y
-#Enable FW thermal mitigation feature
-CONFIG_WLAN_FW_THERMAL_MITIGATION := y
+#Enable/Disable FW thermal mitigation feature
+CONFIG_WLAN_FW_THERMAL_MITIGATION := n
# Feature flags which are not (currently) configurable via Kconfig
diff --git a/core/pld/src/pld_common.c b/core/pld/src/pld_common.c
index 285578b33c1d..b683b9988367 100644
--- a/core/pld/src/pld_common.c
+++ b/core/pld/src/pld_common.c
@@ -1576,7 +1576,7 @@ void pld_block_shutdown(struct device *dev, bool status)
}
}
-#ifdef CONFIG_PLD_SNOC_ICNSS
+#if defined(CONFIG_PLD_SNOC_ICNSS) && defined(CONFIG_WLAN_FW_THERMAL_MITIGATION)
int pld_thermal_register(struct device *dev, int max_state)
{
return icnss_thermal_register(dev, max_state);