mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
b30e092de6
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46198
16 lines
570 B
Diff
16 lines
570 B
Diff
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
|
|
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
|
|
@@ -7817,10 +7817,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);
|
|
+ else if (rt2x00_rt(rt2x00dev, RT3352))
|
|
+ rf = RF3322;
|
|
else if (rt2x00_rt(rt2x00dev, RT3883))
|
|
rf = RF3853;
|
|
else if (rt2x00_rt(rt2x00dev, RT5350))
|