diff options
author | Gábor Stefanik <netrolller.3d@gmail.com> | 2009-08-14 15:11:59 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-20 11:35:54 -0400 |
commit | 0c61bb9a410de6ef36b4a473ced34f983a87db35 (patch) | |
tree | 0a3a2da944c6e79297218fc3679dd2ba087bf7fd | |
parent | 9d86a2d531c722feb0046e5a0b81809efb10422a (diff) |
b43: LP-PHY: Don't adjust gain table for rev2+ when setting channel
Rev2+ never needs to have gain tables adjusted according to the spec.
Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/b43/phy_lp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/phy_lp.c b/drivers/net/wireless/b43/phy_lp.c index e010268b9879..ce81920d26dc 100644 --- a/drivers/net/wireless/b43/phy_lp.c +++ b/drivers/net/wireless/b43/phy_lp.c | |||
@@ -2059,10 +2059,9 @@ static int b43_lpphy_op_switch_channel(struct b43_wldev *dev, | |||
2059 | if (err) | 2059 | if (err) |
2060 | return err; | 2060 | return err; |
2061 | lpphy_japan_filter(dev, new_channel); | 2061 | lpphy_japan_filter(dev, new_channel); |
2062 | lpphy_adjust_gain_table(dev, channel2freq_lp(new_channel)); | ||
2062 | } | 2063 | } |
2063 | 2064 | ||
2064 | lpphy_adjust_gain_table(dev, channel2freq_lp(new_channel)); | ||
2065 | |||
2066 | return 0; | 2065 | return 0; |
2067 | } | 2066 | } |
2068 | 2067 | ||