b43: LP-PHY: Fix setting TX power control mode during RC calibration
authorGábor Stefanik <netrolller.3d@gmail.com>
Fri, 14 Aug 2009 19:19:58 +0000 (21:19 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:35:59 +0000 (11:35 -0400)
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>
drivers/net/wireless/b43/phy_lp.c

index ca52fd5f38cebe8e0d449b768ffb12d15f0e21a4..940238385680adfa7d23f44cdc85194543e94119 100644 (file)
@@ -1159,7 +1159,7 @@ static void lpphy_rev0_1_rc_calib(struct b43_wldev *dev)
        lpphy_read_tx_pctl_mode_from_hardware(dev);
        old_txpctl = lpphy->txpctl_mode;
 
-       lpphy_set_tx_power_control(dev, B43_LPPHY_TX_PWR_CTL_CMD_MODE_OFF);
+       lpphy_set_tx_power_control(dev, B43_LPPHY_TXPCTL_OFF);
        lpphy_disable_crs(dev);
        loopback = lpphy_loopback(dev);
        if (loopback == -1)