b43: HT-PHY: fix typo in 0x2059 radio init
authorRafał Miłecki <zajec5@gmail.com>
Sun, 17 Jul 2011 08:30:34 +0000 (10:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Jul 2011 20:49:52 +0000 (16:49 -0400)
Following operation was incorrectly translated:
 radio_read(0x0011) -> 0xffff
radio_write(0x0011) <- 0xfff7

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_ht.c

index 87cc829..21d1847 100644 (file)
@@ -148,7 +148,7 @@ static void b43_radio_2059_init(struct b43_wldev *dev)
                b43_radio_mask(dev, 0x17F, ~0x1);
        }
 
-       b43_radio_mask(dev, 0x11, 0x0008);
+       b43_radio_mask(dev, 0x11, ~0x0008);
 }
 
 /**************************************************