]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
iwlwifi: make MVM and DVM depend on MAC80211
authorLuca Coelho <luciano.coelho@intel.com>
Mon, 27 Aug 2018 10:02:19 +0000 (13:02 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Dec 2018 07:07:03 +0000 (09:07 +0200)
It's not the iwlwifi module that depends on mac80211, but iwlmvm and
iwldvm.  To reflect this better, make MVM and DVM Kconfig options
depend on MAC80211 instead.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlwifi/Kconfig

index e5a2fc738ac3616fe64f04c1472bc1d044f0c0d7..491ca3c8b43cb745c7ea0beed63e6097fbc96a64 100644 (file)
@@ -1,6 +1,6 @@
 config IWLWIFI
        tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) "
-       depends on PCI && MAC80211 && HAS_IOMEM
+       depends on PCI && HAS_IOMEM
        select FW_LOADER
        ---help---
          Select to build the driver supporting the:
@@ -53,6 +53,7 @@ config IWLWIFI_LEDS
 
 config IWLDVM
        tristate "Intel Wireless WiFi DVM Firmware support"
+       depends on MAC80211
        help
          This is the driver that supports the DVM firmware. The list
          of the devices that use this firmware is available here:
@@ -61,6 +62,7 @@ config IWLDVM
 config IWLMVM
        tristate "Intel Wireless WiFi MVM Firmware support"
        select WANT_DEV_COREDUMP
+       depends on MAC80211
        help
          This is the driver that supports the MVM firmware. The list
          of the devices that use this firmware is available here: