mac80211: update to latest version, fix tx gain patch
[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 @@ -8,6 +8,8 @@
4  
5  #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0))
6  
7 +#ifndef TCA_CODEL_MAX
8 +
9  /*
10   * This backports:
11   *
12 @@ -135,6 +137,7 @@ static inline int compat_vga_switcheroo_
13  
14  #define SIZE_MAX    (~(size_t)0)
15  
16 +#endif /* TCA_CODEL_MAX */
17  
18  #include <linux/pkt_sched.h>
19