diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2006-12-20 01:49:56 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2006-12-20 01:49:56 +0000 |
| commit | 3e0e67263b848fe769db6d1ebe28d880c2020b88 (patch) | |
| tree | 8955372a1744e96e3438cc72d1333cea54df8f59 /sys/dev/dc | |
| parent | 45ee6ab35006f36023e271608217760a2fde626d (diff) | |
Notes
Diffstat (limited to 'sys/dev/dc')
| -rw-r--r-- | sys/dev/dc/if_dc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c index 903f2fcdaad7a..c699629054a9b 100644 --- a/sys/dev/dc/if_dc.c +++ b/sys/dev/dc/if_dc.c @@ -2871,7 +2871,8 @@ dc_txeof(struct dc_softc *sc) sc->dc_cdata.dc_tx_cons = idx; ifp->if_drv_flags &= ~IFF_DRV_OACTIVE; } - sc->dc_wdog_timer = (sc->dc_cdata.dc_tx_cnt == 0) ? 0 : 5; + if (sc->dc_cdata.dc_tx_cnt == 0) + sc->dc_wdog_timer = 0; } static void |
