summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/071-add_codel_ifdef.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-18 01:26:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-06-18 01:26:36 +0000
commit33600679329458db7a0d258f3985daa52d98bf75 (patch)
tree9c5f6766d736f534cb39faa25b00a9b126d26f94 /package/mac80211/patches/071-add_codel_ifdef.patch
parentc73b39fd302245a47813d1a41a082df7b82c45fb (diff)
downloadmaster-31e0f0ae-33600679329458db7a0d258f3985daa52d98bf75.tar.gz
master-31e0f0ae-33600679329458db7a0d258f3985daa52d98bf75.tar.bz2
master-31e0f0ae-33600679329458db7a0d258f3985daa52d98bf75.zip
mac80211: update to wireless-testing 2012-06-14
SVN-Revision: 32420
Diffstat (limited to 'package/mac80211/patches/071-add_codel_ifdef.patch')
-rw-r--r--package/mac80211/patches/071-add_codel_ifdef.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/mac80211/patches/071-add_codel_ifdef.patch b/package/mac80211/patches/071-add_codel_ifdef.patch
index b69fdd78b4..45a599c4f6 100644
--- a/package/mac80211/patches/071-add_codel_ifdef.patch
+++ b/package/mac80211/patches/071-add_codel_ifdef.patch
@@ -1,19 +1,19 @@
--- a/include/linux/compat-3.5.h
+++ b/include/linux/compat-3.5.h
-@@ -10,6 +10,8 @@
+@@ -8,6 +8,8 @@
- #include <linux/pkt_sched.h>
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0))
+#ifndef TCA_CODEL_MAX
+
/*
* This backports:
*
-@@ -107,6 +109,7 @@ struct tc_fq_codel_xstats {
- };
- };
+@@ -106,6 +108,7 @@ struct vga_switcheroo_client_ops {
+
+ #define SIZE_MAX (~(size_t)0)
+#endif /* TCA_CODEL_MAX */
- /* Backports tty_lock: Localise the lock */
- #define tty_lock(__tty) tty_lock()
+ #include <linux/pkt_sched.h>
+