summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/071-add_codel_ifdef.patch
blob: b69fdd78b4e1f9ef5b7677f01082a569d84fc8b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()