Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Invert the logic in last commit so that it actual...



details:   https://anonhg.NetBSD.org/src/rev/f39652bd7914
branches:  trunk
changeset: 511704:f39652bd7914
user:      enami <enami%NetBSD.org@localhost>
date:      Mon Jun 25 06:44:41 2001 +0000

description:
Invert the logic in last commit so that it actually works.

diffstat:

 sys/dev/ic/pdq_ifsubr.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bfc109b10003 -r f39652bd7914 sys/dev/ic/pdq_ifsubr.c
--- a/sys/dev/ic/pdq_ifsubr.c   Mon Jun 25 05:49:43 2001 +0000
+++ b/sys/dev/ic/pdq_ifsubr.c   Mon Jun 25 06:44:41 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pdq_ifsubr.c,v 1.32 2001/06/25 04:46:28 matt Exp $     */
+/*     $NetBSD: pdq_ifsubr.c,v 1.33 2001/06/25 06:44:41 enami Exp $    */
 
 /*-
  * Copyright (c) 1995, 1996 Matt Thomas <matt%3am-software.com@localhost>
@@ -283,7 +283,7 @@
     sc->sc_if.if_flags &= ~IFF_OACTIVE;
     if (IFQ_IS_EMPTY(&sc->sc_if.if_snd) == 0) {
        sc->sc_if.if_timer = PDQ_OS_TX_TIMEOUT;
-       if ((sc->sc_flags & PDQIF_DOWNCALL) != 0)
+       if ((sc->sc_flags & PDQIF_DOWNCALL) == 0)
            pdq_ifstart(&sc->sc_if);
     } else {
        sc->sc_if.if_timer = 0;



Home | Main Index | Thread Index | Old Index