svn commit: r208017 - head/sys/dev/usb/net
Andrew Thompson
thompsa at FreeBSD.org
Wed May 12 23:00:36 UTC 2010
Author: thompsa
Date: Wed May 12 23:00:36 2010
New Revision: 208017
URL: http://svn.freebsd.org/changeset/base/208017
Log:
Fix possibly wrong bit masking.
Reported by: n_hibma
Submitted by: Hans Petter Selasky
Modified:
head/sys/dev/usb/net/uhso.c
Modified: head/sys/dev/usb/net/uhso.c
==============================================================================
--- head/sys/dev/usb/net/uhso.c Wed May 12 22:58:59 2010 (r208016)
+++ head/sys/dev/usb/net/uhso.c Wed May 12 23:00:36 2010 (r208017)
@@ -1339,7 +1339,7 @@ uhso_ucom_cfg_set_dtr(struct ucom_softc
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 @@ uhso_ucom_cfg_set_rts(struct ucom_softc
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 svn-src-head
mailing list