]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: iwlwifi: fix build when mvm/mld not configured
authorJohannes Berg <johannes.berg@intel.com>
Sun, 19 Oct 2025 08:45:08 +0000 (11:45 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Tue, 28 Oct 2025 14:17:26 +0000 (16:17 +0200)
commitf67cf9aaae4681692dce78ce31ba08cdf9cc0705
tree14ca7f89c629845d44c8392668b6d281e08deb58
parent7906c61a8faf6660bc2d5c6e71985be695a71065
wifi: iwlwifi: fix build when mvm/mld not configured

When neither mvm nor mld are configured, we don't have the
iwl_bz_mac_cfg symbol and thus cannot check for it. But in
that case the relevant device entries aren't and cannot be
present, so just ifdef the test code for that.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202509170625.BAJBe7Bi-lkp@intel.com/
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20251019114304.615810979e7b.I9a215f955bb3208d99239be8496d19e0f186b4d0@changeid
drivers/net/wireless/intel/iwlwifi/tests/devinfo.c