Re: [PATCH] iwlwifi: work around reverse dependency on MEI

From: Arnd Bergmann
Date: Tue Dec 07 2021 - 09:10:33 EST


On Tue, Dec 7, 2021 at 1:54 PM Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
> diff --git a/drivers/net/wireless/intel/iwlwifi/Kconfig b/drivers/net/wireless/intel/iwlwifi/Kconfig
> index cf1125d84929..474afc6f82a8 100644
> --- a/drivers/net/wireless/intel/iwlwifi/Kconfig
> +++ b/drivers/net/wireless/intel/iwlwifi/Kconfig
> @@ -93,10 +93,10 @@ config IWLWIFI_BCAST_FILTERING
> expect incoming broadcasts for their normal operations.
>
> config IWLMEI
> - tristate "Intel Management Engine communication over WLAN"
> - depends on INTEL_MEI
> + bool "Intel Management Engine communication over WLAN"
> + depends on INTEL_MEI=y || INTEL_MEI=IWLMVM
> + depends on IWLMVM=y || IWLWIFI=m

For reference, that line is wrong, and I still see the same problem
with my patch
applied. It should work after changing it to

depends on IWLMVM=y || IWLMVM=m

but I'm still testing for further problems.

Arnd