b43: check band width
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
4bb29f8c39
commit
aa4c7b2a25
@@ -1787,7 +1787,7 @@ static int b43_nphy_cal_tx_iq_lo(struct b43_wldev *dev,
|
||||
|
||||
b43_phy_write(dev, B43_NPHY_IQLOCAL_CMDGCTL, 0x8AA9);
|
||||
|
||||
if (1 /* FIXME: the band width is 20 MHz */)
|
||||
if (!dev->phy.is_40mhz)
|
||||
freq = 2500;
|
||||
else
|
||||
freq = 5000;
|
||||
|
Reference in New Issue
Block a user