summaryrefslogtreecommitdiff
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-07-17 12:30:34 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-07-20 00:49:52 +0400
commitb473bc176702cb22529632b5c4315bda27e0d979 (patch)
treee3e30d6cf3dfd7ad1fff83056c6680590f3c4929 /drivers/net/wireless
parent49ac26fa5b05cace123af9b069e00e47ab6a6fe7 (diff)
downloadlinux-b473bc176702cb22529632b5c4315bda27e0d979.tar.xz
b43: HT-PHY: fix typo in 0x2059 radio init
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>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/b43/phy_ht.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_ht.c b/drivers/net/wireless/b43/phy_ht.c
index 87cc82932224..21d1847a9117 100644
--- a/drivers/net/wireless/b43/phy_ht.c
+++ b/drivers/net/wireless/b43/phy_ht.c
@@ -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);
}
/**************************************************