Source-Changes-HG archive

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

[src/nick-nhusb]: src/sys/dev/usb Oops. Fix previous.



details:   https://anonhg.NetBSD.org/src/rev/3a8acf7687f1
branches:  nick-nhusb
changeset: 334203:3a8acf7687f1
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Apr 07 07:58:56 2015 +0000

description:
Oops.  Fix previous.

diffstat:

 sys/dev/usb/usb_subr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b72662d6b4a2 -r 3a8acf7687f1 sys/dev/usb/usb_subr.c
--- a/sys/dev/usb/usb_subr.c    Tue Apr 07 07:16:47 2015 +0000
+++ b/sys/dev/usb/usb_subr.c    Tue Apr 07 07:58:56 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb_subr.c,v 1.198.2.11 2015/04/07 07:16:47 skrll Exp $        */
+/*     $NetBSD: usb_subr.c,v 1.198.2.12 2015/04/07 07:58:56 skrll Exp $        */
 /*     $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $   */
 
 /*
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.198.2.11 2015/04/07 07:16:47 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.198.2.12 2015/04/07 07:58:56 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -1432,7 +1432,7 @@
                                 * if SS, otherwise it means UPS_LOW_SPEED.
                                 */
                                else if (dev->ud_speed == USB_SPEED_SUPER && 
-                                   (s & UPS_PORT_POWER_SS) &&
+                                   (s & UPS_PORT_POWER_SS))
                                        err = USB_PORT_POWERED;
                                else if (s & UPS_PORT_POWER)
                                        err = USB_PORT_POWERED;



Home | Main Index | Thread Index | Old Index