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 87cc829322243f21c7ea7d23ddb5da26b78152bb..21d1847a911795983a7032bcf351ce15f02be578 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);
 }
 
 /**************************************************