summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp/if_fxp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/fxp/if_fxp.c')
-rw-r--r--sys/dev/fxp/if_fxp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index da9dc0e..2790079 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -1253,13 +1253,11 @@ fxp_intr_body(struct fxp_softc *sc, u_int8_t statack, int count)
sc->tx_queued--;
}
sc->cbl_first = txp;
+ ifp->if_timer = 0;
if (sc->tx_queued == 0) {
- ifp->if_timer = 0;
if (sc->need_mcsetup)
fxp_mc_setup(sc);
- } else
- ifp->if_timer = 5;
-
+ }
/*
* Try to start more packets transmitting.
*/
OpenPOWER on IntegriCloud