summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-07-17 10:30:34 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-07-19 16:49:52 -0400
commitb473bc176702cb22529632b5c4315bda27e0d979 (patch)
treee3e30d6cf3dfd7ad1fff83056c6680590f3c4929 /drivers/net
parent49ac26fa5b05cace123af9b069e00e47ab6a6fe7 (diff)
downloadop-kernel-dev-b473bc176702cb22529632b5c4315bda27e0d979.zip
op-kernel-dev-b473bc176702cb22529632b5c4315bda27e0d979.tar.gz
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')
-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 87cc829..21d1847 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);
}
/**************************************************
OpenPOWER on IntegriCloud