aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/323-rt2x00-Add-RT3070-detection.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-02-21 20:38:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-02-21 20:38:07 +0000
commitf98d59ddd04f7be1f689cf13a198ffc156b052af (patch)
tree604aebf5ce5715e5a29605fdd5ed14473c52690b /package/mac80211/patches/323-rt2x00-Add-RT3070-detection.patch
parentb72191aa74660801e0edc943852930cc0b56cf42 (diff)
downloadupstream-f98d59ddd04f7be1f689cf13a198ffc156b052af.tar.gz
upstream-f98d59ddd04f7be1f689cf13a198ffc156b052af.tar.bz2
upstream-f98d59ddd04f7be1f689cf13a198ffc156b052af.zip
upgrade to latest compat-wireless and rt2800 version
SVN-Revision: 14605
Diffstat (limited to 'package/mac80211/patches/323-rt2x00-Add-RT3070-detection.patch')
-rw-r--r--package/mac80211/patches/323-rt2x00-Add-RT3070-detection.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/mac80211/patches/323-rt2x00-Add-RT3070-detection.patch b/package/mac80211/patches/323-rt2x00-Add-RT3070-detection.patch
new file mode 100644
index 0000000000..8ff0fad2da
--- /dev/null
+++ b/package/mac80211/patches/323-rt2x00-Add-RT3070-detection.patch
@@ -0,0 +1,27 @@
+From 4fd4f7fd1db857b86fa3e6a1165f1ff051a71a7d Mon Sep 17 00:00:00 2001
+From: Ivo van Doorn <IvDoorn@gmail.com>
+Date: Sat, 21 Feb 2009 10:57:03 +0100
+Subject: [PATCH] rt2x00: Add RT3070 detection
+
+Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
+---
+ drivers/net/wireless/rt2x00/rt2800usb.c | 3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c
+index 25f636f..a95ef3c 100644
+--- a/drivers/net/wireless/rt2x00/rt2800usb.c
++++ b/drivers/net/wireless/rt2x00/rt2800usb.c
+@@ -2338,7 +2338,8 @@ static int rt2800usb_init_eeprom(struct rt2x00_dev *rt2x00dev)
+ * identifies itself as rt2860 in the CSR register.
+ */
+ if ((rt2x00_get_field32(reg, MAC_CSR0_ASIC_VER) != 0x2860) &&
+- (rt2x00_get_field32(reg, MAC_CSR0_ASIC_VER) != 0x2870)) {
++ (rt2x00_get_field32(reg, MAC_CSR0_ASIC_VER) != 0x2870) &&
++ (rt2x00_get_field32(reg, MAC_CSR0_ASIC_VER) != 0x3070)) {
+ ERROR(rt2x00dev, "Invalid RT chipset detected.\n");
+ return -ENODEV;
+ }
+--
+1.6.0
+