From e30b799cdce79c4fe33c8bd09d2f289baf788382 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 14 Sep 2010 22:53:54 +0000 Subject: mac80211: upgrade to wireless-testing 2010-09-14, replace the external carl9170 with the recently merged upstream version git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23061 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/018-list_for_each_continue_backport.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 package/mac80211/patches/018-list_for_each_continue_backport.patch (limited to 'package/mac80211/patches/018-list_for_each_continue_backport.patch') diff --git a/package/mac80211/patches/018-list_for_each_continue_backport.patch b/package/mac80211/patches/018-list_for_each_continue_backport.patch new file mode 100644 index 000000000..08f8eed02 --- /dev/null +++ b/package/mac80211/patches/018-list_for_each_continue_backport.patch @@ -0,0 +1,15 @@ +--- a/include/linux/compat-2.6.33.h ++++ b/include/linux/compat-2.6.33.h +@@ -98,6 +98,12 @@ int pccard_loop_tuple(struct pcmcia_sock + #define kfifo_out(a, b, c) __kfifo_get(*a, b, c) + #define kfifo_len(a) __kfifo_len(*a) + ++#define list_for_each_entry_continue_rcu(pos, head, member) \ ++ for (pos = list_entry_rcu(pos->member.next, typeof(*pos), member); \ ++ prefetch(pos->member.next), &pos->member != (head); \ ++ pos = list_entry_rcu(pos->member.next, typeof(*pos), member)) ++ ++ + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) */ + + #endif /* LINUX_26_33_COMPAT_H */ -- cgit v1.2.3