620-rt2x00-rt3352-rf-id.patch 584 B

123456789101112131415
  1. --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
  2. +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
  3. @@ -7818,10 +7818,11 @@ static int rt2800_init_eeprom(struct rt2
  4. * RT53xx: defined in "EEPROM_CHIP_ID" field
  5. */
  6. if (rt2x00_rt(rt2x00dev, RT3290) ||
  7. - rt2x00_rt(rt2x00dev, RT3352) ||
  8. rt2x00_rt(rt2x00dev, RT5390) ||
  9. rt2x00_rt(rt2x00dev, RT5392))
  10. rt2800_eeprom_read(rt2x00dev, EEPROM_CHIP_ID, &rf);
  11. + else if (rt2x00_rt(rt2x00dev, RT3352))
  12. + rf = RF3322;
  13. else if (rt2x00_rt(rt2x00dev, RT3883))
  14. rf = RF3853;
  15. else if (rt2x00_rt(rt2x00dev, RT5350))