diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2007-04-17 11:28:47 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-28 11:01:05 -0400 |
commit | 2933d42cb7b0f14e0f83f6f231c966e97c79cdc9 (patch) | |
tree | e2c6dd0b28b56f23531b49d4bc1c3c18c9e95867 /net/ieee80211/ieee80211_module.c | |
parent | 32684ec61678c61c6ceebfb29901b7723410ed83 (diff) |
[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 <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ieee80211/ieee80211_module.c')
-rw-r--r-- | net/ieee80211/ieee80211_module.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
229 | 229 | ||
230 | static int debug = 0; | 230 | static int debug = 0; |
231 | u32 ieee80211_debug_level = 0; | 231 | u32 ieee80211_debug_level = 0; |
232 | EXPORT_SYMBOL_GPL(ieee80211_debug_level); | ||
232 | static struct proc_dir_entry *ieee80211_proc = NULL; | 233 | static struct proc_dir_entry *ieee80211_proc = NULL; |
233 | 234 | ||
234 | static int show_debug_level(char *page, char **start, off_t offset, | 235 | static int show_debug_level(char *page, char **start, off_t offset, |