From OpenBSD:

- Fix one typo (instead of two disable_rx, one disable_rx and one disable_tx)
[The other bug fix isn't appropriate since the was OACTIVE is dealt with
has been changed in NetBSD.]
This commit is contained in:
matt 2002-08-28 17:46:58 +00:00
parent 4c30492b6c
commit e25f13dfbe
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: gem.c,v 1.21 2002/06/01 23:50:58 lukem Exp $ */
/* $NetBSD: gem.c,v 1.22 2002/08/28 17:46:58 matt Exp $ */
/*
*
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: gem.c,v 1.21 2002/06/01 23:50:58 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: gem.c,v 1.22 2002/08/28 17:46:58 matt Exp $");
#include "bpfilter.h"
@ -507,7 +507,7 @@ gem_stop(struct ifnet *ifp, int disable)
/* XXX - Should we reset these instead? */
gem_disable_rx(sc);
gem_disable_rx(sc);
gem_disable_tx(sc);
/*
* Release any queued transmit buffers.