Andreas Schwab wrote:
This is causing an undefined refrence to ieee80211_debug_level with CONFIG_IEEE80211_DEBUG=y and CONFIG_IEEE80211_CRYPT_CCMP=m and/or CONFIG_IEEE80211_CRYPT_TKIP=m. WARNING: "ieee80211_debug_level" [net/ieee80211/ieee80211_crypt_tkip.ko] undefined! WARNING: "ieee80211_debug_level" [net/ieee80211/ieee80211_crypt_ccmp.ko] undefined! Andreas.
The missing symbol was not exported by ieee80211_module.c. Sorry for not testing enough. The fix is as follows:
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,
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,