summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGábor Stefanik <netrolller.3d@gmail.com>2009-08-14 19:11:59 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-08-20 15:35:54 (GMT)
commit0c61bb9a410de6ef36b4a473ced34f983a87db35 (patch)
tree0a3a2da944c6e79297218fc3679dd2ba087bf7fd /drivers
parent9d86a2d531c722feb0046e5a0b81809efb10422a (diff)
downloadlinux-fsl-qoriq-0c61bb9a410de6ef36b4a473ced34f983a87db35.tar.xz
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/b43/phy_lp.c3
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 e010268..ce81920 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,
if (err)
return err;
lpphy_japan_filter(dev, new_channel);
+ lpphy_adjust_gain_table(dev, channel2freq_lp(new_channel));
}
- lpphy_adjust_gain_table(dev, channel2freq_lp(new_channel));
-
return 0;
}