diff options
| -rw-r--r-- | Kbuild | 4 | ||||
| -rw-r--r-- | core/pld/src/pld_common.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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); |
