aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/071-add_codel_ifdef.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-30 01:01:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-30 01:01:06 +0000
commit79e4cca4e70410bcd97597d01803df4f10b64808 (patch)
treeddbb857e08e6eb21ee8427a2f433273ee056a28f /package/mac80211/patches/071-add_codel_ifdef.patch
parent06134628f51c310f52435653f8b46b78f340e68b (diff)
downloadmaster-187ad058-79e4cca4e70410bcd97597d01803df4f10b64808.tar.gz
master-187ad058-79e4cca4e70410bcd97597d01803df4f10b64808.tar.bz2
master-187ad058-79e4cca4e70410bcd97597d01803df4f10b64808.zip
mac80211: update to wireless-testing 2012-05-29
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32002 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/071-add_codel_ifdef.patch')
-rw-r--r--package/mac80211/patches/071-add_codel_ifdef.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/mac80211/patches/071-add_codel_ifdef.patch b/package/mac80211/patches/071-add_codel_ifdef.patch
new file mode 100644
index 0000000000..b69fdd78b4
--- /dev/null
+++ b/package/mac80211/patches/071-add_codel_ifdef.patch
@@ -0,0 +1,19 @@
+--- a/include/linux/compat-3.5.h
++++ b/include/linux/compat-3.5.h
+@@ -10,6 +10,8 @@
+
+ #include <linux/pkt_sched.h>
+
++#ifndef TCA_CODEL_MAX
++
+ /*
+ * This backports:
+ *
+@@ -107,6 +109,7 @@ struct tc_fq_codel_xstats {
+ };
+ };
+
++#endif /* TCA_CODEL_MAX */
+
+ /* Backports tty_lock: Localise the lock */
+ #define tty_lock(__tty) tty_lock()