qlge: ql_adapter_down() typo
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 26 Dec 2008 01:23:50 +0000 (17:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Dec 2008 01:23:50 +0000 (17:23 -0800)
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c

index 0214708..4070d53 100644 (file)
@@ -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