Re: [PATCH] iwlwifi: fix building without CONFIG_THERMAL

2019-09-19 Thread Luca Coelho
On Thu, 2019-09-19 at 13:55 +0200, Arnd Bergmann wrote: > The iwl_mvm_send_temp_report_ths_cmd() function is now called without > CONFIG_THERMAL, but not defined: > > ERROR: "iwl_mvm_send_temp_report_ths_cmd" > [drivers/net/wireless/intel/iwlwifi/mvm/iwlmvm.ko] undefined! > > Move that function

[PATCH] iwlwifi: fix building without CONFIG_THERMAL

2019-09-19 Thread Arnd Bergmann
The iwl_mvm_send_temp_report_ths_cmd() function is now called without CONFIG_THERMAL, but not defined: ERROR: "iwl_mvm_send_temp_report_ths_cmd" [drivers/net/wireless/intel/iwlwifi/mvm/iwlmvm.ko] undefined! Move that function out of the #ifdef as well and change it so that empty data gets sent e