Arnd Bergmann <arnd@xxxxxxxxxx> wrote: > From: Arnd Bergmann <arnd@xxxxxxxx> > > Building iwlmei without CONFIG_CFG80211 causes a link-time warning: > > ld.lld: error: undefined symbol: ieee80211_hdrlen > >>> referenced by net.c > >>> net/wireless/intel/iwlwifi/mei/net.o:(iwl_mei_tx_copy_to_csme) in archive drivers/built-in.a > > Add an explicit dependency to avoid this. In theory it should not > be needed here, but it also seems pointless to allow IWLMEI > for configurations without CFG80211. > > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> > Acked-by: Emmanuel Grumbach <Emmanuel.grumbach@xxxxxxxxx> > Acked-by: Luca Coelho <luciano.coelho@xxxxxxxxx> Patch applied to wireless-next.git, thanks. 066291bec0c5 iwlwifi: mei: fix building iwlmei -- https://patchwork.kernel.org/project/linux-wireless/patch/20220316183617.1470631-1-arnd@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches