]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
b43: phy.c fix typo in register write
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 12 Mar 2008 16:51:04 +0000 (17:51 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Mar 2008 19:57:25 +0000 (15:57 -0400)
Commit 61bca6eb85c863603d6054530e2f65c3b9aba85b 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>
drivers/net/wireless/b43/phy.c

index 71507b260b6d2fd5e1befb0eddee486db109034e..575c5436ebdfdcdcfcd8ab56a8671c1da3dd0a9a 100644 (file)
@@ -860,7 +860,7 @@ static void b43_phy_ww(struct b43_wldev *dev)
        b43_phy_write(dev, B43_PHY_OFDM(0xBB),
                (b43_phy_read(dev, B43_PHY_OFDM(0xBB)) & 0xF000) | 0x0053);
        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_read(dev, B43_PHY_OFDM(0x13)) & 0x0FFF) | 0x3000);
        b43_phy_write(dev, B43_PHY_OFDM(0x14),