aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/325-rt2x00-rt2x00_rev-should-return-u32.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-01-23 11:45:38 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-01-23 11:45:38 +0000
commit95222dfa79d7e7e85fadb00e87d20e9ac4c01c26 (patch)
tree4f7448016e943e83361e9cada3fc7d8f4c21641f /package/mac80211/patches/325-rt2x00-rt2x00_rev-should-return-u32.patch
parentb9d372fc0e7446d12c21becec3248136a8694047 (diff)
downloadmaster-187ad058-95222dfa79d7e7e85fadb00e87d20e9ac4c01c26.tar.gz
master-187ad058-95222dfa79d7e7e85fadb00e87d20e9ac4c01c26.tar.bz2
master-187ad058-95222dfa79d7e7e85fadb00e87d20e9ac4c01c26.zip
[package] mac80211: update compat-wireless to 2009-01-23
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14154 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/325-rt2x00-rt2x00_rev-should-return-u32.patch')
-rw-r--r--package/mac80211/patches/325-rt2x00-rt2x00_rev-should-return-u32.patch25
1 files changed, 25 insertions, 0 deletions
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 <IvDoorn@gmail.com>
+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 <IvDoorn@gmail.com>
+---
+ 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;
+ }