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>
This commit is contained in:
Gábor Stefanik 2009-08-14 21:11:59 +02:00 коммит произвёл John W. Linville
Родитель 9d86a2d531
Коммит 0c61bb9a41
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -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;
}