]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5030a8abf6bc3670b9e51806751031af1979b98
tree5d81ff1a18e142d464ad837c5a26d353bb12e2d8
parent5cbd8c33bfdcb4ef9c65e9fb7686744e2e5e807e
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: a3b00ed5a018 ("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