diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-02-15 12:02:39 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:52:43 -0500 |
commit | c493b017e0631ac023f904a732e8b615d4870426 (patch) | |
tree | f15473fc14df60f8630d39d71e811172d944cccd | |
parent | e05eac37946a51efcedcc1b9cddb10af15628902 (diff) |
b43: Fix LO calibration txctl reg value
This patch expands the parenthesis in the txctl reg write
of the LO calibration to enforce precedence rules.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/b43/lo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/lo.c b/drivers/net/wireless/b43/lo.c index 6a18a1470465..88ed75f68646 100644 --- a/drivers/net/wireless/b43/lo.c +++ b/drivers/net/wireless/b43/lo.c | |||
@@ -783,7 +783,7 @@ struct b43_lo_calib * b43_calibrate_lo_setting(struct b43_wldev *dev, | |||
783 | | rfatt->att); | 783 | | rfatt->att); |
784 | b43_radio_write16(dev, txctl_reg, | 784 | b43_radio_write16(dev, txctl_reg, |
785 | (b43_radio_read16(dev, txctl_reg) & ~txctl_value) | 785 | (b43_radio_read16(dev, txctl_reg) & ~txctl_value) |
786 | | (rfatt->with_padmix) ? txctl_value : 0); | 786 | | (rfatt->with_padmix ? txctl_value : 0)); |
787 | 787 | ||
788 | max_rx_gain = rfatt->att * 2; | 788 | max_rx_gain = rfatt->att * 2; |
789 | max_rx_gain += bbatt->att / 2; | 789 | max_rx_gain += bbatt->att / 2; |