From 854dfb1ec8dc2332e721d993f5f4d6e9bc5720fb Mon Sep 17 00:00:00 2001 From: proski Date: Wed, 17 Oct 2007 16:59:45 +0000 Subject: [PATCH] Linux 2.6.24 moves proc_net inside init_net git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2756 0192ed92-7a03-0410-a25b-9323aeb14dbd --- net80211/ieee80211_linux.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net80211/ieee80211_linux.c b/net80211/ieee80211_linux.c index 202a60a..0f492ae 100644 --- a/net80211/ieee80211_linux.c +++ b/net80211/ieee80211_linux.c @@ -104,6 +104,10 @@ static struct attribute_group ieee80211_attr_grp = { }; #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) */ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) +#define proc_net init_net.proc_net +#endif + /* * Print a console message with the device name prepended. */ -- 2.35.1