]> git.karo-electronics.de Git - linux-beck.git/commitdiff
rt2x00: Fix rf register for RT3070
authorKevin Lo <kevlo@kevlo.org>
Wed, 18 Sep 2013 08:22:44 +0000 (16:22 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Sep 2013 19:17:30 +0000 (15:17 -0400)
Fix RT3070 chip RF initial value to be similar to the latest Ralink vendor
driver.

Tested on Asus N13 usb wifi dongle.

Signed-off-by: Kevin Lo <kevlo@kevlo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c

index 786420c199caa6ea3500cdb20c62258a854937db..f4149782e501996e6679676ffd9e7ce602168ad1 100644 (file)
@@ -5993,7 +5993,7 @@ static void rt2800_init_rfcsr_30xx(struct rt2x00_dev *rt2x00dev)
        rt2800_rfcsr_write(rt2x00dev, 20, 0xba);
        rt2800_rfcsr_write(rt2x00dev, 21, 0xdb);
        rt2800_rfcsr_write(rt2x00dev, 24, 0x16);
-       rt2800_rfcsr_write(rt2x00dev, 25, 0x01);
+       rt2800_rfcsr_write(rt2x00dev, 25, 0x03);
        rt2800_rfcsr_write(rt2x00dev, 29, 0x1f);
 
        if (rt2x00_rt_rev_lt(rt2x00dev, RT3070, REV_RT3070F)) {