Search Linux Wireless

[PATCH] iwlwifi: iwlmvm: add rfkill dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



IWLMVM uses symbol rfkill_soft_blocked, thus RFKILL should be a
dependency

In file included from drivers/net/wireless/intel/iwlwifi/mvm/fw.c:19:
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h: In function ‘iwl_mvm_mei_set_sw_rfkill_state’:
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h:2215:24: error: implicit declaration of function ‘rfkill_soft_blocked’; did you mean ‘rfkill_blocked’? [-Werror=implicit-function-declaration]
 2215 |   mvm->hw_registered ? rfkill_soft_blocked(mvm->hw->wiphy->rfkill) : false;
      |                        ^~~~~~~~~~~~~~~~~~~
      |                        rfkill_blocked
cc1: some warnings being treated as errors

Signed-off-by: Tong Zhang <ztong0001@xxxxxxxxx>
---
 drivers/net/wireless/intel/iwlwifi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/intel/iwlwifi/Kconfig b/drivers/net/wireless/intel/iwlwifi/Kconfig
index 85e704283755..64eaf8f943c4 100644
--- a/drivers/net/wireless/intel/iwlwifi/Kconfig
+++ b/drivers/net/wireless/intel/iwlwifi/Kconfig
@@ -65,6 +65,7 @@ config IWLDVM
 config IWLMVM
 	tristate "Intel Wireless WiFi MVM Firmware support"
 	select WANT_DEV_COREDUMP
+	depends on RFKILL
 	depends on MAC80211
 	help
 	  This is the driver that supports the MVM firmware. The list
-- 
2.25.1




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux