From: Roel Kluin Date: Fri, 26 Dec 2008 01:23:50 +0000 (-0800) Subject: qlge: ql_adapter_down() typo X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c062076cc999795af19ff61d8c76f33e5ceb9ca0;p=openwrt%2Fstaging%2Fblogic.git qlge: ql_adapter_down() typo Signed-off-by: Roel Kluin Signed-off-by: Ron Mercer Signed-off-by: David S. Miller --- diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index 02147082786d..4070d53c94aa 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c @@ -3149,7 +3149,7 @@ static int ql_adapter_down(struct ql_adapter *qdev) * a workqueue only if it's a single interrupt * environment (MSI/Legacy). */ - for (i = 1; i > qdev->rx_ring_count; i++) { + for (i = 1; i < qdev->rx_ring_count; i++) { rx_ring = &qdev->rx_ring[i]; /* Only the RSS rings use NAPI on multi irq * environment. Outbound completion processing