wifi: cfg80211: fix kunit exports
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Feb 2024 10:03:39 +0000 (11:03 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Sun, 4 Feb 2024 10:03:39 +0000 (11:03 +0100)
commit679dd27b4ef33d4f596cbf450a3b2742fc54962a
tree4f642ded338a2f95a3c07d22e94dc7c2d23e8445
parent6256760f37baa2e4bf34dcbef69d7450460df9bd
wifi: cfg80211: fix kunit exports

These can only be exported if cfg80211's kunit is enabled,
since they're otherwise static. kunit itself can be enabled
even if cfg80211's kunit isn't. Fix that by using the right
macro.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202402040534.6AEKtZ7Y-lkp@intel.com/
Fixes: 45d43937a44c ("wifi: cfg80211: add a kunit test for 6 GHz colocated AP parsing")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c