You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
910 B
24 lines
910 B
11 years ago
|
From c4d79e344bd580d85821390d49f92dced7d8e125 Mon Sep 17 00:00:00 2001
|
||
|
From: Gabor Juhos <juhosg@openwrt.org>
|
||
|
Date: Sun, 24 Mar 2013 19:26:29 +0100
|
||
|
Subject: [PATCH] rt2x00: rt2800lib: use correct txpower calculation function
|
||
|
for RT3883
|
||
|
|
||
|
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
|
||
|
---
|
||
9 years ago
|
drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 3 ++-
|
||
11 years ago
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||
|
|
||
9 years ago
|
--- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
|
||
|
+++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
|
||
6 years ago
|
@@ -5281,7 +5281,8 @@ static void rt2800_config_txpower(struct
|
||
11 years ago
|
struct ieee80211_channel *chan,
|
||
|
int power_level)
|
||
|
{
|
||
|
- if (rt2x00_rt(rt2x00dev, RT3593))
|
||
|
+ if (rt2x00_rt(rt2x00dev, RT3593) ||
|
||
|
+ rt2x00_rt(rt2x00dev, RT3883))
|
||
|
rt2800_config_txpower_rt3593(rt2x00dev, chan, power_level);
|
||
8 years ago
|
else if (rt2x00_rt(rt2x00dev, RT6352))
|
||
|
rt2800_config_txpower_rt6352(rt2x00dev, chan, power_level);
|