Luca Coelho <l...@coelho.fi> wrote:

> From: Johannes Berg <johannes.b...@intel.com>
> 
> Without CONFIG_THERMAL, the driver fails to link as it calls
> iwl_mvm_send_temp_report_ths_cmd() unconditionally. Fix this
> by making that function available, but do almost nothing but
> send the empty firmware command to enable CT-kill reporting.
> 
> While at it, also fix that function itself to not error out
> when the thermal zone hasn't been initialized, but instead
> just send the empty firmware command in this case as well.
> 
> Fixes: 242d9c8b9a93 ("iwlwifi: mvm: use FW thermal monitoring regardless of 
> CONFIG_THERMAL")
> Signed-off-by: Johannes Berg <johannes.b...@intel.com>
> Signed-off-by: Luca Coelho <luciano.coe...@intel.com>

Patch applied to wireless-drivers.git, thanks.

2d88b2cf2f00 iwlwifi: mvm: fix build w/o CONFIG_THERMAL

-- 
https://patchwork.kernel.org/patch/11150431/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

Reply via email to