summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/071-add_codel_ifdef.patch
diff options
context:
space:
mode:
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 0000000..b69fdd7
--- /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()