From 95222dfa79d7e7e85fadb00e87d20e9ac4c01c26 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Fri, 23 Jan 2009 11:45:38 +0000 Subject: [package] mac80211: update compat-wireless to 2009-01-23 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14154 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../325-rt2x00-rt2x00_rev-should-return-u32.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package/mac80211/patches/325-rt2x00-rt2x00_rev-should-return-u32.patch (limited to 'package/mac80211/patches/325-rt2x00-rt2x00_rev-should-return-u32.patch') diff --git a/package/mac80211/patches/325-rt2x00-rt2x00_rev-should-return-u32.patch b/package/mac80211/patches/325-rt2x00-rt2x00_rev-should-return-u32.patch new file mode 100644 index 0000000000..0a14d9fa5b --- /dev/null +++ b/package/mac80211/patches/325-rt2x00-rt2x00_rev-should-return-u32.patch @@ -0,0 +1,25 @@ +From 3dc31edfe4bad6048f097cd4a088499500db9a2e Mon Sep 17 00:00:00 2001 +From: Ivo van Doorn +Date: Thu, 22 Jan 2009 21:01:56 +0100 +Subject: [PATCH] rt2x00: rt2x00_rev() should return u32 + +The "rev" field in chipset definition is an u32, +which means that rt2x00_rev() which returns that field +should be of the same type. + +Signed-off-by: Ivo van Doorn +--- + drivers/net/wireless/rt2x00/rt2x00.h | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +--- a/drivers/net/wireless/rt2x00/rt2x00.h ++++ b/drivers/net/wireless/rt2x00/rt2x00.h +@@ -878,7 +878,7 @@ static inline char rt2x00_rf(const struc + return (chipset->rf == chip); + } + +-static inline u16 rt2x00_rev(const struct rt2x00_chip *chipset) ++static inline u32 rt2x00_rev(const struct rt2x00_chip *chipset) + { + return chipset->rev; + } -- cgit v1.2.3