55e703b753462b731fb5e0274cdb2fba86e5d06b
[openwrt/staging/adrian.git] /
1 From 4cf5403f02fa65dc2207f61d223cffa9ae50e907 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Thu, 1 Aug 2013 14:48:21 +0200
4 Subject: [PATCH] rt2x00: rt2800lib: force rf type to RF3853 on RT3883
5
6 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
7 ---
8 drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 2 ++
9 1 file changed, 2 insertions(+)
10
11 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
12 +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
13 @@ -9087,6 +9087,8 @@ static int rt2800_init_eeprom(struct rt2
14 rf = rt2800_eeprom_read(rt2x00dev, EEPROM_CHIP_ID);
15 else if (rt2x00_rt(rt2x00dev, RT3352))
16 rf = RF3322;
17 + else if (rt2x00_rt(rt2x00dev, RT3883))
18 + rf = RF3853;
19 else if (rt2x00_rt(rt2x00dev, RT5350))
20 rf = RF5350;
21 else