]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/wireless/reg.c
cfg80211: fix CFG80211_EXTRA_REGDB_KEYDIR typo
authorArnd Bergmann <arnd@arndb.de>
Fri, 13 Oct 2017 12:04:31 +0000 (14:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Oct 2017 12:08:42 +0000 (14:08 +0200)
commit88230ef1f31bf2d8fcf42c20e5743ff4b3618a29
tree5d81ff1a18e142d464ad837c5a26d353bb12e2d8
parent1188e2a9ef223f5c670301d54a6f65d223a87582
cfg80211: fix CFG80211_EXTRA_REGDB_KEYDIR typo

The missing CONFIG_ prefix means this macro is never defined,
leading to a possible Kbuild warning:

net/wireless/reg.c:666:20: error: 'load_keys_from_buffer' defined but not used [-Werror=unused-function]
 static void __init load_keys_from_buffer(const u8 *p, unsigned int buflen)

When we use the correct symbol, the warning also goes away.

Fixes: 90a53e4432b1 ("cfg80211: implement regdb signature checking")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c