2015-12-04 22:39:37 +00:00
|
|
|
--- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
|
|
|
|
+++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
|
2016-01-15 15:03:48 +00:00
|
|
|
@@ -7818,10 +7818,11 @@ static int rt2800_init_eeprom(struct rt2
|
2014-05-23 21:05:41 +00:00
|
|
|
* RT53xx: defined in "EEPROM_CHIP_ID" field
|
|
|
|
*/
|
|
|
|
if (rt2x00_rt(rt2x00dev, RT3290) ||
|
|
|
|
- rt2x00_rt(rt2x00dev, RT3352) ||
|
2013-10-14 19:40:30 +00:00
|
|
|
rt2x00_rt(rt2x00dev, RT5390) ||
|
|
|
|
rt2x00_rt(rt2x00dev, RT5392))
|
|
|
|
rt2800_eeprom_read(rt2x00dev, EEPROM_CHIP_ID, &rf);
|
|
|
|
+ else if (rt2x00_rt(rt2x00dev, RT3352))
|
|
|
|
+ rf = RF3322;
|
2014-04-23 07:52:37 +00:00
|
|
|
else if (rt2x00_rt(rt2x00dev, RT3883))
|
|
|
|
rf = RF3853;
|
2013-10-14 19:40:30 +00:00
|
|
|
else if (rt2x00_rt(rt2x00dev, RT5350))
|