summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2006-02-10 08:56:14 +0000
committerbrad <brad@openbsd.org>2006-02-10 08:56:14 +0000
commit7bf6b85fdd9c0134909ff788bf4c12ffc37402c7 (patch)
tree56492d5abb121d6a243b5f72e56592cf63b7a5ab
parentenable san(4). (diff)
downloadwireguard-openbsd-7bf6b85fdd9c0134909ff788bf4c12ffc37402c7.tar.xz
wireguard-openbsd-7bf6b85fdd9c0134909ff788bf4c12ffc37402c7.zip
Remove clearing of the IFF_RUNNING flag from the watchdog handler as
ixgb_stop() will do this anyway.
-rw-r--r--sys/dev/pci/if_ixgb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_ixgb.c b/sys/dev/pci/if_ixgb.c
index d8624d3f111..39ed7422490 100644
--- a/sys/dev/pci/if_ixgb.c
+++ b/sys/dev/pci/if_ixgb.c
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_ixgb.c,v 1.6 2006/02/01 20:13:49 brad Exp $ */
+/* $OpenBSD: if_ixgb.c,v 1.7 2006/02/10 08:56:14 brad Exp $ */
#include <dev/pci/if_ixgb.h>
@@ -448,8 +448,6 @@ ixgb_watchdog(struct ifnet * ifp)
}
printf("%s: watchdog timeout -- resetting\n", sc->sc_dv.dv_xname);
- ifp->if_flags &= ~IFF_RUNNING;
-
ixgb_stop(sc);
ixgb_init(sc);