mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
51e2b66b57
SVN-Revision: 33636
26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
From d0ae5f33c0221339a50bd1005c569934417003a5 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Golle <dgolle@allnet.de>
|
|
Date: Thu, 4 Oct 2012 00:34:01 +0200
|
|
Subject: [PATCH] rt2x00/rt3352: Fix lnagain assignment to use register 66.
|
|
To: users@rt2x00.serialmonkey.com
|
|
Cc: gwingerde@gmail.com
|
|
|
|
---
|
|
drivers/net/wireless/rt2x00/rt2800lib.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
|
|
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
|
|
@@ -2273,9 +2273,9 @@ static void rt2800_config_channel(struct
|
|
*/
|
|
if (rt2x00_rt(rt2x00dev, RT3352)) {
|
|
rt2800_bbp_write(rt2x00dev, 27, 0x0);
|
|
- rt2800_bbp_write(rt2x00dev, 62, 0x26 + rt2x00dev->lna_gain);
|
|
+ rt2800_bbp_write(rt2x00dev, 66, 0x26 + rt2x00dev->lna_gain);
|
|
rt2800_bbp_write(rt2x00dev, 27, 0x20);
|
|
- rt2800_bbp_write(rt2x00dev, 62, 0x26 + rt2x00dev->lna_gain);
|
|
+ rt2800_bbp_write(rt2x00dev, 66, 0x26 + rt2x00dev->lna_gain);
|
|
} else {
|
|
rt2800_bbp_write(rt2x00dev, 62, 0x37 - rt2x00dev->lna_gain);
|
|
rt2800_bbp_write(rt2x00dev, 63, 0x37 - rt2x00dev->lna_gain);
|