]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
b43: N-PHY: fix typo: read table when caching IQ LO calibration (do not write)
authorRafał Miłecki <zajec5@gmail.com>
Thu, 14 Oct 2010 17:33:35 +0000 (19:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 15 Oct 2010 19:57:37 +0000 (15:57 -0400)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_n.c

index 3ade0191f3194908f0977e20f7909ce20ae90aad..dd9cfe58f762bb13be193b843c169de3b5523a46 100644 (file)
@@ -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);