summaryrefslogtreecommitdiffstats
path: root/abs/core/wlan-ng26-utils/kernel-2.6.26.patch
blob: ec306f0dd0cef59837ab6e2b107d4879e04564fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: src/p80211/p80211netdev.c
===================================================================
--- src/p80211/p80211netdev.c	(revision 1865)
+++ src/p80211/p80211netdev.c	(working copy)
@@ -947,7 +947,9 @@
 #endif
 #endif
 	
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) )
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) )
+		dev_net_set(dev, &init_net);
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) )
 		dev->nd_net = &init_net;
 #endif