aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2010-11-18 15:11:41 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-11-24 16:19:34 -0500
commitfee613b77df721781b9794945f0f1a8f535456ff (patch)
tree96e900110b7e5f1b6f0ddc789d0eee108aa6a8dd /drivers
parentbec186452b4cfecff9e2c579bfd4016119d39614 (diff)
b43: N-PHY: fix BPHY init
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/b43/phy_n.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c
index d52d51491055..bf0d63d61b6a 100644
--- a/drivers/net/wireless/b43/phy_n.c
+++ b/drivers/net/wireless/b43/phy_n.c
@@ -1580,13 +1580,13 @@ static void b43_nphy_bphy_init(struct b43_wldev *dev)
1580 u16 val; 1580 u16 val;
1581 1581
1582 val = 0x1E1F; 1582 val = 0x1E1F;
1583 for (i = 0; i < 14; i++) { 1583 for (i = 0; i < 16; i++) {
1584 b43_phy_write(dev, B43_PHY_N_BMODE(0x88 + i), val); 1584 b43_phy_write(dev, B43_PHY_N_BMODE(0x88 + i), val);
1585 val -= 0x202; 1585 val -= 0x202;
1586 } 1586 }
1587 val = 0x3E3F; 1587 val = 0x3E3F;
1588 for (i = 0; i < 16; i++) { 1588 for (i = 0; i < 16; i++) {
1589 b43_phy_write(dev, B43_PHY_N_BMODE(0x97 + i), val); 1589 b43_phy_write(dev, B43_PHY_N_BMODE(0x98 + i), val);
1590 val -= 0x202; 1590 val -= 0x202;
1591 } 1591 }
1592 b43_phy_write(dev, B43_PHY_N_BMODE(0x38), 0x668); 1592 b43_phy_write(dev, B43_PHY_N_BMODE(0x38), 0x668);