summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-30 17:52:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-30 17:52:58 +0000
commitf9d5bdd6f35c1d796123f085077aba94bab70fa2 (patch)
treed03cd6367fe908806f56a2a72a76996d6087fe4f /target
parentab2bdf2505ed6bf1c3c2544c08c0e845aef19fba (diff)
downloadmtk-20170518-f9d5bdd6f35c1d796123f085077aba94bab70fa2.zip
mtk-20170518-f9d5bdd6f35c1d796123f085077aba94bab70fa2.tar.gz
mtk-20170518-f9d5bdd6f35c1d796123f085077aba94bab70fa2.tar.bz2
add compatibility patch for d80211
SVN-Revision: 5937
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic-2.6/patches/210-d80211_compat.patch11
1 files changed, 11 insertions, 0 deletions
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
index 0000000..555151b
--- /dev/null
+++ b/target/linux/generic-2.6/patches/210-d80211_compat.patch
@@ -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