aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2008-12-25 20:23:50 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-25 20:23:50 -0500
commitc062076cc999795af19ff61d8c76f33e5ceb9ca0 (patch)
tree78bfd8c08564514f99dbed331416fb038a6ab14a
parent619e803d3c1b7bcc17c45e81f309d0b9b3df2d5d (diff)
qlge: ql_adapter_down() typo
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>
-rw-r--r--drivers/net/qlge/qlge_main.c2
1 files changed, 1 insertions, 1 deletions
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)
3149 * a workqueue only if it's a single interrupt 3149 * a workqueue only if it's a single interrupt
3150 * environment (MSI/Legacy). 3150 * environment (MSI/Legacy).
3151 */ 3151 */
3152 for (i = 1; i > qdev->rx_ring_count; i++) { 3152 for (i = 1; i < qdev->rx_ring_count; i++) {
3153 rx_ring = &qdev->rx_ring[i]; 3153 rx_ring = &qdev->rx_ring[i];
3154 /* Only the RSS rings use NAPI on multi irq 3154 /* Only the RSS rings use NAPI on multi irq
3155 * environment. Outbound completion processing 3155 * environment. Outbound completion processing