add compatibility patch for d80211
authorFelix Fietkau <nbd@openwrt.org>
Sat, 30 Dec 2006 17:52:58 +0000 (17:52 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 30 Dec 2006 17:52:58 +0000 (17:52 +0000)
SVN-Revision: 5937

target/linux/generic-2.6/patches/210-d80211_compat.patch [new file with mode: 0644]

diff --git a/target/linux/generic-2.6/patches/210-d80211_compat.patch b/target/linux/generic-2.6/patches/210-d80211_compat.patch
new file mode 100644 (file)
index 0000000..555151b
--- /dev/null
@@ -0,0 +1,11 @@
+--- linux.old/include/linux/netdevice.h        2006-12-30 18:49:37.916951328 +0100
++++ linux.dev/include/linux/netdevice.h        2006-12-30 18:49:49.573179312 +0100
+@@ -526,6 +526,8 @@
+       struct class_device     class_dev;
+       /* space for optional statistics and wireless sysfs groups */
+       struct attribute_group  *sysfs_groups[3];
++      
++      void *ieee80211_ptr;
+ };
+ #define       NETDEV_ALIGN            32