Arnd Bergmann <arnd@xxxxxxxxxx> writes: > 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> > --- > drivers/net/wireless/intel/iwlwifi/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > I see this warning on 5.17-rc8, but did not test it on linux-next, > which may already have a fix. I just sent the last pull request to v5.17. Luca, should I take this to wireless-next? Ack? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches