Message ID | CANUX_P0XizO+J6ju-z93KO-8dXJDZVjBOPO15inUap5yPoxEmA@mail.gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Kalle Valo |
Headers | show |
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/tt.c b/drivers/net/wireless/intel/iwlwifi/mvm/tt.c index de3589a..f1f2825 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/tt.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/tt.c @@ -557,7 +557,9 @@ int iwl_mvm_ctdp_command(struct iwl_mvm *mvm, u32 op, u32 state) switch (op) { case CTDP_CMD_OPERATION_START: +#ifdef CONFIG_THERMAL mvm->cooling_dev.cur_state = state; +#endif /* CONFIG_THERMAL */ break; case CTDP_CMD_OPERATION_REPORT: