Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/dev/usb Pull up rev. 1.39 (augustss):



details:   https://anonhg.NetBSD.org/src/rev/8e7cc028a7f1
branches:  netbsd-1-5
changeset: 488483:8e7cc028a7f1
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jul 13 01:14:08 2000 +0000

description:
Pull up rev. 1.39 (augustss):
Fix reversed test which caused umass detach failure.

diffstat:

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

diffs (18 lines):

diff -r 24bdd8ab3ceb -r 8e7cc028a7f1 sys/dev/usb/umass.c
--- a/sys/dev/usb/umass.c       Thu Jul 13 01:12:17 2000 +0000
+++ b/sys/dev/usb/umass.c       Thu Jul 13 01:14:08 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass.c,v 1.38 2000/06/01 14:29:00 augustss Exp $      */
+/*     $NetBSD: umass.c,v 1.38.2.1 2000/07/13 01:14:08 thorpej Exp $   */
 /*-
  * Copyright (c) 1999 MAEKAWA Masahide <bishop%rr.iij4u.or.jp@localhost>,
  *                   Nick Hibma <n_hibma%freebsd.org@localhost>
@@ -1191,7 +1191,7 @@
                break;
 
        case DVACT_DEACTIVATE:
-               if (sc->sc_child != NULL)
+               if (sc->sc_child == NULL)
                        break;
                rv = config_deactivate(sc->sc_child);
                DPRINTF(UDMASS_USB, ("%s: umass_activate: child "



Home | Main Index | Thread Index | Old Index