mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
b43: phy.c fix typo in register write
Commit 61bca6eb85
b43: rewrite A PHY initialization
has a typo, the result of the register read should be masked, not the
register offset.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
c1e889be18
commit
5abdc49d6e
1 changed files with 1 additions and 1 deletions
|
@ -860,7 +860,7 @@ static void b43_phy_ww(struct b43_wldev *dev)
|
||||||
b43_phy_write(dev, B43_PHY_OFDM(0xBB),
|
b43_phy_write(dev, B43_PHY_OFDM(0xBB),
|
||||||
(b43_phy_read(dev, B43_PHY_OFDM(0xBB)) & 0xF000) | 0x0053);
|
(b43_phy_read(dev, B43_PHY_OFDM(0xBB)) & 0xF000) | 0x0053);
|
||||||
b43_phy_write(dev, B43_PHY_OFDM61,
|
b43_phy_write(dev, B43_PHY_OFDM61,
|
||||||
(b43_phy_read(dev, B43_PHY_OFDM61 & 0xFE1F)) | 0x0120);
|
(b43_phy_read(dev, B43_PHY_OFDM61) & 0xFE1F) | 0x0120);
|
||||||
b43_phy_write(dev, B43_PHY_OFDM(0x13),
|
b43_phy_write(dev, B43_PHY_OFDM(0x13),
|
||||||
(b43_phy_read(dev, B43_PHY_OFDM(0x13)) & 0x0FFF) | 0x3000);
|
(b43_phy_read(dev, B43_PHY_OFDM(0x13)) & 0x0FFF) | 0x3000);
|
||||||
b43_phy_write(dev, B43_PHY_OFDM(0x14),
|
b43_phy_write(dev, B43_PHY_OFDM(0x14),
|
||||||
|
|
Loading…
Reference in a new issue