Message ID | 20170116031246.GA32267@makrotopia.org (mailing list archive) |
---|---|
State | Accepted |
Commit | b8c2db58d5a1a5e216e84c0e1ea97f1b6d9a8c45 |
Delegated to: | Kalle Valo |
Headers | show |
On Mon, Jan 16, 2017 at 04:13:01AM +0100, Daniel Golle wrote: > From: Felix Fietkau <nbd@openwrt.org> > > Signed-off-by: Felix Fietkau <nbd@openwrt.org> > Signed-off-by: Daniel Golle <daniel@makrotopia.org> Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c index 4f454e143266..366310011491 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c @@ -7229,6 +7229,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);