summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2010-10-14 21:33:35 +0400
committerJohn W. Linville <linville@tuxdriver.com>2010-10-15 23:57:37 +0400
commit5818e989360b06d249cf1d88e7d4601ca70a7322 (patch)
tree854f44d324497d0ff3a93eba4ccdd49b5fd084ba /drivers/net
parent204a665ba390bca861ad7b1a061f3ccded0e7eab (diff)
downloadlinux-5818e989360b06d249cf1d88e7d4601ca70a7322.tar.xz
b43: N-PHY: fix typo: read table when caching IQ LO calibration (do not write)
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_n.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c
index 3ade0191f319..dd9cfe58f762 100644
--- a/drivers/net/wireless/b43/phy_n.c
+++ b/drivers/net/wireless/b43/phy_n.c
@@ -2538,7 +2538,7 @@ static void b43_nphy_save_cal(struct b43_wldev *dev)
}
iqcal_chanspec->center_freq = dev->phy.channel_freq;
iqcal_chanspec->channel_type = dev->phy.channel_type;
- b43_ntab_write_bulk(dev, B43_NTAB16(15, 80), 8, table);
+ b43_ntab_read_bulk(dev, B43_NTAB16(15, 80), 8, table);
if (nphy->hang_avoid)
b43_nphy_stay_in_carrier_search(dev, 0);