openwrtv3/package/madwifi/patches/401-changeset_r3602.patch
Felix Fietkau 9d5a1f6aa4 madwifi: improve reliability of the wds modes
SVN-Revision: 13416
2008-11-28 20:46:52 +00:00

11 lines
388 B
Diff

--- a/net80211/ieee80211_linux.h
+++ b/net80211/ieee80211_linux.h
@@ -348,6 +348,8 @@ typedef spinlock_t acl_lock_t;
/* __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
/*