diff options
author | Gábor Stefanik <netrolller.3d@gmail.com> | 2009-08-16 12:40:09 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-20 11:35:57 -0400 |
commit | ed07c4b3af341bad3fa29558f08b166220014ca7 (patch) | |
tree | 7c399d30d3ecefb114b4948bb212b395196d5211 /drivers/net/wireless | |
parent | 5269102ec9c1584ccfab71affd1d7600d59f9096 (diff) |
b43: LP-PHY: Fix a bug in the B2062 channel tune path
I missed the "+16" part of the instruction in the specs.
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 4d14102821c8..4553e4073958 100644 --- a/drivers/net/wireless/b43/phy_lp.c +++ b/drivers/net/wireless/b43/phy_lp.c | |||
@@ -1950,7 +1950,7 @@ static int lpphy_b2062_tune(struct b43_wldev *dev, | |||
1950 | b43_radio_write(dev, B2062_S_RFPLL_CTL29, tmp6 + ((2 * tmp7) / tmp4)); | 1950 | b43_radio_write(dev, B2062_S_RFPLL_CTL29, tmp6 + ((2 * tmp7) / tmp4)); |
1951 | tmp8 = b43_phy_read(dev, B2062_S_RFPLL_CTL19); | 1951 | tmp8 = b43_phy_read(dev, B2062_S_RFPLL_CTL19); |
1952 | tmp9 = ((2 * tmp3 * (tmp8 + 1)) + (3 * tmp1)) / (6 * tmp1); | 1952 | tmp9 = ((2 * tmp3 * (tmp8 + 1)) + (3 * tmp1)) / (6 * tmp1); |
1953 | b43_radio_write(dev, B2062_S_RFPLL_CTL23, tmp9 >> 8); | 1953 | b43_radio_write(dev, B2062_S_RFPLL_CTL23, (tmp9 >> 8) + 16); |
1954 | b43_radio_write(dev, B2062_S_RFPLL_CTL24, tmp9 & 0xFF); | 1954 | b43_radio_write(dev, B2062_S_RFPLL_CTL24, tmp9 & 0xFF); |
1955 | 1955 | ||
1956 | lpphy_b2062_vco_calib(dev); | 1956 | lpphy_b2062_vco_calib(dev); |