relayd: update to the latest version, fixes some issues found by Coverity
[openwrt/svn-archive/archive.git] / package / kernel / mac80211 / patches / 620-rt2x00-rt3352-rf-id.patch
index e7e15973419f3b9747446e6031bd21f6cb12c542..259cb1f1b2108593a1eec8ef7d7af3f102c7fcbc 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/rt2x00/rt2800lib.c
 +++ b/drivers/net/wireless/rt2x00/rt2800lib.c
-@@ -7142,10 +7142,11 @@ static int rt2800_init_eeprom(struct rt2
+@@ -7817,10 +7817,11 @@ static int rt2800_init_eeprom(struct rt2
         * RT53xx: defined in "EEPROM_CHIP_ID" field
         */
        if (rt2x00_rt(rt2x00dev, RT3290) ||
@@ -10,6 +10,6 @@
                rt2800_eeprom_read(rt2x00dev, EEPROM_CHIP_ID, &rf);
 +      else if (rt2x00_rt(rt2x00dev, RT3352))
 +              rf = RF3322;
+       else if (rt2x00_rt(rt2x00dev, RT3883))
+               rf = RF3853;
        else if (rt2x00_rt(rt2x00dev, RT5350))
-               rf = RF5350;
-       else