From: Larry Finger Date: Tue, 17 Apr 2007 15:28:47 +0000 (-0500) Subject: [PATCH] ieee80211: add missing global needed by IEEE80211_DEBUG_XXXX X-Git-Tag: firefly_0821_release~30260^2~19 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2933d42cb7b0f14e0f83f6f231c966e97c79cdc9;p=firefly-linux-kernel-4.4.55.git [PATCH] ieee80211: add missing global needed by IEEE80211_DEBUG_XXXX Using any of the IEEE80211_DEBUG_XXXX macros in any ieee80211_crypt routine built as a module results in a missing global for 'ieee80211_debug_level'. The fix is to export the symbol in ieee80211. Signed-off-by: Larry Finger Signed-off-by: John W. Linville --- diff --git a/net/ieee80211/ieee80211_module.c b/net/ieee80211/ieee80211_module.c index 76304345bca5..7ec6610841ba 100644 --- a/net/ieee80211/ieee80211_module.c +++ b/net/ieee80211/ieee80211_module.c @@ -229,6 +229,7 @@ void free_ieee80211(struct net_device *dev) static int debug = 0; u32 ieee80211_debug_level = 0; +EXPORT_SYMBOL_GPL(ieee80211_debug_level); static struct proc_dir_entry *ieee80211_proc = NULL; static int show_debug_level(char *page, char **start, off_t offset,