From: Rafał Miłecki Date: Fri, 22 Oct 2010 15:43:45 +0000 (+0200) Subject: b43: N-PHY: fix infinite-loop-typo X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=30115c2252fcf9d21aae029ff0e27f4cc962ef44;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git b43: N-PHY: fix infinite-loop-typo Signed-off-by: Rafał Miłecki Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index dfec5496055e..e0f2d122e124 100644 --- a/drivers/net/wireless/b43/phy_n.c +++ b/drivers/net/wireless/b43/phy_n.c @@ -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];