PERFORCE change 178173 for review

Hans Petter Selasky hselasky at FreeBSD.org
Wed May 12 22:03:44 UTC 2010


http://p4web.freebsd.org/@@178173?ac=10

Change 178173 by hselasky at hselasky_laptop001 on 2010/05/12 22:03:11

	USB serial:
		- fix possibly wrong bit masking
		- reported by: Nick Hibma

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/net/uhso.c#5 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/net/uhso.c#5 (text+ko) ====

@@ -1339,7 +1339,7 @@
 	if (onoff)
 		sc->sc_line |= UCDC_LINE_DTR;
 	else
-		sc->sc_line &= UCDC_LINE_DTR;
+		sc->sc_line &= ~UCDC_LINE_DTR;
 
 	uhso_bs_cfg(sc);
 }
@@ -1355,7 +1355,7 @@
 	if (onoff)
 		sc->sc_line |= UCDC_LINE_RTS;
 	else
-		sc->sc_line &= UCDC_LINE_DTR;
+		sc->sc_line &= ~UCDC_LINE_RTS;
 
 	uhso_bs_cfg(sc);
 }


More information about the p4-projects mailing list