diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2008-10-31 12:40:44 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-10 15:17:42 -0500 |
commit | c4832467a5c8c2ae96d6dad882be4d4ab9eefad7 (patch) | |
tree | 9bea55a6cef397f85ece232e69816ac908599310 | |
parent | b2e53b338b7b4608372d070bb477f3bae3971e5a (diff) |
rtl8187: Change TX power settings
The latest vendor driver (rtl8187B_linux_26.1036.0708.2008) has a different
CCK power setting code as compared with the Linux driver.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Piter Punk <piterpk@terra.com.br>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/rtl8187_rtl8225.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtl8187_rtl8225.c b/drivers/net/wireless/rtl8187_rtl8225.c index 38333b185a56..69030be62b36 100644 --- a/drivers/net/wireless/rtl8187_rtl8225.c +++ b/drivers/net/wireless/rtl8187_rtl8225.c | |||
@@ -625,7 +625,7 @@ static void rtl8225z2_b_rf_set_tx_power(struct ieee80211_hw *dev, int channel) | |||
625 | rtl8225_write_phy_cck(dev, 0x44 + i, *tmp++); | 625 | rtl8225_write_phy_cck(dev, 0x44 + i, *tmp++); |
626 | 626 | ||
627 | rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, | 627 | rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, |
628 | rtl8225z2_tx_gain_cck_ofdm[cck_power]); | 628 | rtl8225z2_tx_gain_cck_ofdm[cck_power] << 1); |
629 | msleep(1); | 629 | msleep(1); |
630 | 630 | ||
631 | rtl818x_iowrite8(priv, &priv->map->TX_GAIN_OFDM, | 631 | rtl818x_iowrite8(priv, &priv->map->TX_GAIN_OFDM, |