Skip to content

Commit

Permalink
b43: LP-PHY: Don't adjust gain table for rev2+ when setting channel
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gábor Stefanik authored and John W. Linville committed Aug 20, 2009
1 parent 9d86a2d commit 0c61bb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/wireless/b43/phy_lp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0c61bb9

Please sign in to comment.