diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2010-02-22 01:38:42 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-09 15:03:06 -0500 |
commit | 6f6b5d49105eba1be0b2ef0c04a4571f20793778 (patch) | |
tree | c02732797370c820169fc58a08c0dcbf71e1595d /drivers/net/wireless/wl12xx/wl1271_acx.c | |
parent | 0a34332f669dbcd9efc13a45b30985c30ba8f65e (diff) |
wl1271: Remove tx-power level workaround
This patch removes the workaround limiting chipset TX power to 12dB, instead
using the value configured by the mac80211.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_acx.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_acx.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_acx.c b/drivers/net/wireless/wl12xx/wl1271_acx.c index f41f886741f1..60e20876e6d8 100644 --- a/drivers/net/wireless/wl12xx/wl1271_acx.c +++ b/drivers/net/wireless/wl12xx/wl1271_acx.c | |||
@@ -135,12 +135,7 @@ int wl1271_acx_tx_power(struct wl1271 *wl, int power) | |||
135 | goto out; | 135 | goto out; |
136 | } | 136 | } |
137 | 137 | ||
138 | /* | 138 | acx->current_tx_power = power * 10; |
139 | * FIXME: This is a workaround needed while we don't the correct | ||
140 | * calibration, to avoid distortions | ||
141 | */ | ||
142 | /* acx->current_tx_power = power * 10; */ | ||
143 | acx->current_tx_power = 120; | ||
144 | 139 | ||
145 | ret = wl1271_cmd_configure(wl, DOT11_CUR_TX_PWR, acx, sizeof(*acx)); | 140 | ret = wl1271_cmd_configure(wl, DOT11_CUR_TX_PWR, acx, sizeof(*acx)); |
146 | if (ret < 0) { | 141 | if (ret < 0) { |