Message ID | 20220318030149.1328-1-yuehaibing@huawei.com |
---|---|
State | New |
Headers | show |
Series | [-next] wlwifi: mei: Fix build error without CFG80211 | expand |
diff --git a/drivers/net/wireless/intel/iwlwifi/Kconfig b/drivers/net/wireless/intel/iwlwifi/Kconfig index 85e704283755..8c003cd29ab7 100644 --- a/drivers/net/wireless/intel/iwlwifi/Kconfig +++ b/drivers/net/wireless/intel/iwlwifi/Kconfig @@ -137,7 +137,7 @@ endif config IWLMEI tristate "Intel Management Engine communication over WLAN" - depends on INTEL_MEI + depends on INTEL_MEI && CFG80211 depends on PM help Enables the iwlmei kernel module.
If CFG80211 is n and IWLMEI is y, building fails: drivers/net/wireless/intel/iwlwifi/mei/net.o: In function `iwl_mei_tx_copy_to_csme': net.c:(.text+0xd0): undefined reference to `ieee80211_hdrlen' Make IWLMEI depends on CFG80211 to fix this. Fixes: 2da4366f9e2c ("iwlwifi: mei: add the driver to allow cooperation with CSME") Signed-off-by: YueHaibing <yuehaibing@huawei.com> --- drivers/net/wireless/intel/iwlwifi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)