summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rt2661.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/rt2661.c')
-rw-r--r--sys/dev/ic/rt2661.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/rt2661.c b/sys/dev/ic/rt2661.c
index 415b62f1ff1..56ca6572e79 100644
--- a/sys/dev/ic/rt2661.c
+++ b/sys/dev/ic/rt2661.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2661.c,v 1.8 2006/01/14 12:43:27 damien Exp $ */
+/* $OpenBSD: rt2661.c,v 1.9 2006/02/15 17:23:26 damien Exp $ */
/*-
* Copyright (c) 2006
@@ -1959,7 +1959,8 @@ rt2661_watchdog(struct ifnet *ifp)
if (sc->sc_tx_timer > 0) {
if (--sc->sc_tx_timer == 0) {
printf("%s: device timeout\n", sc->sc_dev.dv_xname);
- rt2661_init(ifp);
+ ifp->if_flags &= ~IFF_UP;
+ rt2661_stop(ifp, 1);
ifp->if_oerrors++;
return;
}