Recharge the watchdog timer if there's still some TX work left.

This commit is contained in:
Ruslan Ermilov 2004-04-03 15:55:21 +00:00
parent 4f2eff8c32
commit 2593748c60

View File

@ -935,6 +935,8 @@ ste_txeof(sc)
ifp->if_flags &= ~IFF_OACTIVE;
if (idx == sc->ste_cdata.ste_tx_prod)
ifp->if_timer = 0;
else if (ifp->if_timer == 0)
ifp->if_timer = 5;
}
}