aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-01-13 23:28:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-01-13 23:28:22 +0000
commit864cfd9cce20f90e7a95e919c960499f3c490567 (patch)
treecf2ebe7090c53df6f7d803505fe1d9df213737b5 /package/mac80211/patches
parent3bc028579596eadb3cee094b84d4df51fd4f71d0 (diff)
downloadmaster-187ad058-864cfd9cce20f90e7a95e919c960499f3c490567.tar.gz
master-187ad058-864cfd9cce20f90e7a95e919c960499f3c490567.tar.bz2
master-187ad058-864cfd9cce20f90e7a95e919c960499f3c490567.zip
mac80211: include the kfifo backport in compat.ko if necessary (fixes libertas, rt2x00)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24978 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r--package/mac80211/patches/040-include_kfifo.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/mac80211/patches/040-include_kfifo.patch b/package/mac80211/patches/040-include_kfifo.patch
new file mode 100644
index 0000000000..3ea64b56a7
--- /dev/null
+++ b/package/mac80211/patches/040-include_kfifo.patch
@@ -0,0 +1,24 @@
+--- a/compat/Makefile
++++ b/compat/Makefile
+@@ -2,9 +2,9 @@ obj-m += compat.o
+ #compat-objs :=
+
+ obj-$(CONFIG_COMPAT_FIRMWARE_CLASS) += compat_firmware_class.o
+-obj-$(CONFIG_COMPAT_KFIFO) += kfifo.o
+
+ compat-y += main.o
++compat-$(CONFIG_COMPAT_KFIFO) += kfifo.o
+
+ # Compat kernel compatibility code
+ compat-$(CONFIG_COMPAT_KERNEL_14) += compat-2.6.14.o
+--- a/config.mk
++++ b/config.mk
+@@ -90,7 +90,7 @@ endif #CONFIG_FW_LOADER
+ endif #CONFIG_COMPAT_KERNEL_33
+
+ ifdef CONFIG_COMPAT_KERNEL_36
+-CONFIG_COMPAT_KFIFO=m
++CONFIG_COMPAT_KFIFO=y
+ endif #CONFIG_COMPAT_KERNEL_36
+
+