projects
/
madwifi
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Linux 2.6.24 moves proc_net inside init_net
[madwifi/.git]
/
net80211
/
ieee80211_linux.c
diff --git
a/net80211/ieee80211_linux.c
b/net80211/ieee80211_linux.c
index 202a60a53b590ee4ec5994bca22d0515b693e701..0f492ae1aa0fd802ba0d0b5daa45bfc9704cd617 100644
(file)
--- 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.
*/