Linux 2.6.24 moves proc_net inside init_net
authorproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 17 Oct 2007 16:59:45 +0000 (16:59 +0000)
committerproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 17 Oct 2007 16:59:45 +0000 (16:59 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2756 0192ed92-7a03-0410-a25b-9323aeb14dbd

net80211/ieee80211_linux.c

index 202a60a53b590ee4ec5994bca22d0515b693e701..0f492ae1aa0fd802ba0d0b5daa45bfc9704cd617 100644 (file)
@@ -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.
  */