mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-21 13:24:15 +08:00
b43: N-PHY: fix BPHY init
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
bec186452b
commit
fee613b77d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user