mac80211: merge some pending fixes
[oweals/openwrt.git] / package / mac80211 / patches / 071-add_codel_ifdef.patch
1 --- a/include/linux/compat-3.5.h
2 +++ b/include/linux/compat-3.5.h
3 @@ -10,6 +10,8 @@
4  
5  #include <linux/pkt_sched.h>
6  
7 +#ifndef TCA_CODEL_MAX
8 +
9  /*
10   * This backports:
11   *
12 @@ -107,6 +109,7 @@ struct tc_fq_codel_xstats {
13         };
14  };
15  
16 +#endif /* TCA_CODEL_MAX */
17  
18  /* Backports tty_lock: Localise the lock */
19  #define tty_lock(__tty) tty_lock()