From cd8a80e0f4ada3b68c025dd9d13182b9254d7e7e Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 10 Apr 2010 16:50:15 +0000 Subject: mac80211: update to wireless-testing 2010-04-09, add work-in-progress ar9300 patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20777 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/patches/120-compat_rcu_dereference.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/mac80211/patches/120-compat_rcu_dereference.patch (limited to 'package/mac80211/patches/120-compat_rcu_dereference.patch') diff --git a/package/mac80211/patches/120-compat_rcu_dereference.patch b/package/mac80211/patches/120-compat_rcu_dereference.patch new file mode 100644 index 000000000..3c90a2864 --- /dev/null +++ b/package/mac80211/patches/120-compat_rcu_dereference.patch @@ -0,0 +1,11 @@ +--- a/include/linux/compat-2.6.34.h ++++ b/include/linux/compat-2.6.34.h +@@ -162,6 +162,8 @@ static inline void device_unlock(struct + .prod_id_hash = { 0, 0, (vh3), 0 }, } + #endif + ++#define rcu_dereference_check(p, c) rcu_dereference(p) ++ + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)) */ + + #endif /* LINUX_26_34_COMPAT_H */ -- cgit v1.2.3