aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/forcedeth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c
index 268ea4d566d7..9ef6a9d5fbcb 100644
--- a/drivers/net/forcedeth.c
+++ b/drivers/net/forcedeth.c
@@ -2468,7 +2468,7 @@ static int nv_tx_done_optimized(struct net_device *dev, int limit)
2468 struct ring_desc_ex* orig_get_tx = np->get_tx.ex; 2468 struct ring_desc_ex* orig_get_tx = np->get_tx.ex;
2469 2469
2470 while ((np->get_tx.ex != np->put_tx.ex) && 2470 while ((np->get_tx.ex != np->put_tx.ex) &&
2471 !((flags = le32_to_cpu(np->get_tx.ex->flaglen)) & NV_TX_VALID) && 2471 !((flags = le32_to_cpu(np->get_tx.ex->flaglen)) & NV_TX2_VALID) &&
2472 (tx_work < limit)) { 2472 (tx_work < limit)) {
2473 2473
2474 dprintk(KERN_DEBUG "%s: nv_tx_done_optimized: flags 0x%x.\n", 2474 dprintk(KERN_DEBUG "%s: nv_tx_done_optimized: flags 0x%x.\n",