Commit fee613b7 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville

b43: N-PHY: fix BPHY init

Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent bec18645
...@@ -1580,13 +1580,13 @@ static void b43_nphy_bphy_init(struct b43_wldev *dev) ...@@ -1580,13 +1580,13 @@ static void b43_nphy_bphy_init(struct b43_wldev *dev)
u16 val; u16 val;
val = 0x1E1F; val = 0x1E1F;
for (i = 0; i < 14; i++) { for (i = 0; i < 16; i++) {
b43_phy_write(dev, B43_PHY_N_BMODE(0x88 + i), val); b43_phy_write(dev, B43_PHY_N_BMODE(0x88 + i), val);
val -= 0x202; val -= 0x202;
} }
val = 0x3E3F; val = 0x3E3F;
for (i = 0; i < 16; i++) { for (i = 0; i < 16; i++) {
b43_phy_write(dev, B43_PHY_N_BMODE(0x97 + i), val); b43_phy_write(dev, B43_PHY_N_BMODE(0x98 + i), val);
val -= 0x202; val -= 0x202;
} }
b43_phy_write(dev, B43_PHY_N_BMODE(0x38), 0x668); b43_phy_write(dev, B43_PHY_N_BMODE(0x38), 0x668);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment