]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
b43: N-PHY: fix infinite-loop-typo
authorRafał Miłecki <zajec5@gmail.com>
Fri, 22 Oct 2010 15:43:45 +0000 (17:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Oct 2010 18:45:55 +0000 (14:45 -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 dfec5496055e410b7beffdb02e8d2cac556e016f..e0f2d122e124486b7e1405eabd48ce80cdde54bb 100644 (file)
@@ -2964,7 +2964,7 @@ static int b43_nphy_rev2_cal_rx_iq(struct b43_wldev *dev,
                                        (2 - i));
                }
 
-               for (j = 0; i < 4; j++) {
+               for (j = 0; j < 4; j++) {
                        if (j < 3) {
                                cur_lna = lna[j];
                                cur_hpf1 = hpf1[j];