rt2x00: fix rt3352 rf probing (#14322)
authorFelix Fietkau <nbd@openwrt.org>
Fri, 23 May 2014 21:05:41 +0000 (21:05 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 23 May 2014 21:05:41 +0000 (21:05 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40837

package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch

index 86a990ccdbe6880a3262881a0db9a1a86e3cfc8a..05bcd58aef6edaa77d9e3b8a0d01edf1dd5ba20e 100644 (file)
@@ -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);