summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/071-add_codel_ifdef.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-18 01:26:36 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-18 01:26:36 +0000
commit9f3403679d823f3b7d4eb2e2918db58b1a0b8fff (patch)
treefe2a28fedad04703b1d6951b1bc0f33b08fa4fce /package/mac80211/patches/071-add_codel_ifdef.patch
parent31767f1683b70f7f58c9e4aa08d1cfae167c9d71 (diff)
mac80211: update to wireless-testing 2012-06-14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32420 3c298f89-4303-0410-b956-a3cf2f4a3e73
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>
+