summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/401-changeset_r3602.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-06-04 13:16:18 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-06-04 13:16:18 +0000
commit0244e57bb9fb9ebd1dd224bd5789ad9cc24b0175 (patch)
treedf3661a97c04b17e7226289fb1a50b61c29f4603 /package/madwifi/patches/401-changeset_r3602.patch
parent40a175150e8ca6d66023d419196701aa337f8612 (diff)
downloadmtk-20170518-0244e57bb9fb9ebd1dd224bd5789ad9cc24b0175.zip
mtk-20170518-0244e57bb9fb9ebd1dd224bd5789ad9cc24b0175.tar.gz
mtk-20170518-0244e57bb9fb9ebd1dd224bd5789ad9cc24b0175.tar.bz2
refresh madwifi patches using upstream style
SVN-Revision: 11351
Diffstat (limited to 'package/madwifi/patches/401-changeset_r3602.patch')
-rw-r--r--package/madwifi/patches/401-changeset_r3602.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/madwifi/patches/401-changeset_r3602.patch b/package/madwifi/patches/401-changeset_r3602.patch
new file mode 100644
index 0000000..8e423ca
--- /dev/null
+++ b/package/madwifi/patches/401-changeset_r3602.patch
@@ -0,0 +1,11 @@
+--- a/net80211/ieee80211_linux.h
++++ b/net80211/ieee80211_linux.h
+@@ -312,6 +312,8 @@
+ /* __skb_append got a third parameter in 2.6.14 */
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
+ #define __skb_append(a,b,c) __skb_append(a, b)
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)
++#define __skb_append(a,b,c) __skb_queue_after(c, a, b)
+ #endif
+
+ /*