Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8c2db58 authored by Felix Fietkau's avatar Felix Fietkau Committed by Kalle Valo
Browse files

rt2x00: rt2800lib: fix rf id for RT3352

parent e974f3ac
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7112,6 +7112,8 @@ static int rt2800_init_eeprom(struct rt2x00_dev *rt2x00dev)
	    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
		rf = rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RF_TYPE);