linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ieee80211: Fix missing global needed for IEEE80211_DEBUG_XX  macros in ieee80211_crypt
@ 2007-04-17 15:55 Larry Finger
  0 siblings, 0 replies; only message in thread
From: Larry Finger @ 2007-04-17 15:55 UTC (permalink / raw)
  To: linux-wireless

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>
---

Index: wireless-2.6/net/ieee80211/ieee80211_module.c
===================================================================
--- wireless-2.6.orig/net/ieee80211/ieee80211_module.c
+++ wireless-2.6/net/ieee80211/ieee80211_module.c
@@ -229,6 +229,7 @@ void free_ieee80211(struct net_device *d

  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,


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-17 15:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-17 15:55 [PATCH] ieee80211: Fix missing global needed for IEEE80211_DEBUG_XX macros in ieee80211_crypt Larry Finger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).