aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-23 21:05:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-05-23 21:05:41 +0000
commit25b372fe9a842c1d0dc699f65ef9e17755e860f1 (patch)
treef8bd05841a954de882356239153d1b2241819cc2 /package
parent63da80cb405367cfff23e2d5bfb4a4e1136e7b9c (diff)
downloadupstream-25b372fe9a842c1d0dc699f65ef9e17755e860f1.tar.gz
upstream-25b372fe9a842c1d0dc699f65ef9e17755e860f1.tar.bz2
upstream-25b372fe9a842c1d0dc699f65ef9e17755e860f1.zip
rt2x00: fix rt3352 rf probing (#14322)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40837 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch b/package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch
index 86a990ccdb..05bcd58aef 100644
--- a/package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch
+++ b/package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch
@@ -1,6 +1,10 @@
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
-@@ -7812,6 +7812,8 @@ static int rt2800_init_eeprom(struct rt2
+@@ -7808,10 +7808,11 @@ static int rt2800_init_eeprom(struct rt2
+ * RT53xx: defined in "EEPROM_CHIP_ID" field
+ */
+ if (rt2x00_rt(rt2x00dev, RT3290) ||
+- rt2x00_rt(rt2x00dev, RT3352) ||
rt2x00_rt(rt2x00dev, RT5390) ||
rt2x00_rt(rt2x00dev, RT5392))
rt2800_eeprom_read(rt2x00dev, EEPROM_CHIP_ID, &rf);