diff options
author | Gábor Stefanik <netrolller.3d@gmail.com> | 2009-08-14 15:19:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-20 11:35:59 -0400 |
commit | 5f1c07d924d3e670044911487aca057bb39b4e7e (patch) | |
tree | 167f1ca9e28531cf5bf511143b6c63562ba786b4 /drivers/net/wireless | |
parent | 12d4bba0fd7ac50ca20d9ac1247a0de851850bb0 (diff) |
b43: LP-PHY: Fix setting TX power control mode during RC calibration
Call set_tx_power_control with a LPPHY_TXPCTL rather than an
LPPHY_TX_PWR_CTL_CMD_MODE.
Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/b43/phy_lp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_lp.c b/drivers/net/wireless/b43/phy_lp.c index ca52fd5f38ce..940238385680 100644 --- a/drivers/net/wireless/b43/phy_lp.c +++ b/drivers/net/wireless/b43/phy_lp.c | |||
@@ -1159,7 +1159,7 @@ static void lpphy_rev0_1_rc_calib(struct b43_wldev *dev) | |||
1159 | lpphy_read_tx_pctl_mode_from_hardware(dev); | 1159 | lpphy_read_tx_pctl_mode_from_hardware(dev); |
1160 | old_txpctl = lpphy->txpctl_mode; | 1160 | old_txpctl = lpphy->txpctl_mode; |
1161 | 1161 | ||
1162 | lpphy_set_tx_power_control(dev, B43_LPPHY_TX_PWR_CTL_CMD_MODE_OFF); | 1162 | lpphy_set_tx_power_control(dev, B43_LPPHY_TXPCTL_OFF); |
1163 | lpphy_disable_crs(dev); | 1163 | lpphy_disable_crs(dev); |
1164 | loopback = lpphy_loopback(dev); | 1164 | loopback = lpphy_loopback(dev); |
1165 | if (loopback == -1) | 1165 | if (loopback == -1) |