Date: Mon, 17 May 2010 23:50:46 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r208229 - stable/8/sys/dev/usb/net Message-ID: <201005172350.o4HNoksn076127@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thompsa Date: Mon May 17 23:50:46 2010 New Revision: 208229 URL: http://svn.freebsd.org/changeset/base/208229 Log: MFC r208017 Fix possibly wrong bit masking. Modified: stable/8/sys/dev/usb/net/uhso.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) stable/8/sys/geom/sched/ (props changed) Modified: stable/8/sys/dev/usb/net/uhso.c ============================================================================== --- stable/8/sys/dev/usb/net/uhso.c Mon May 17 23:50:10 2010 (r208228) +++ stable/8/sys/dev/usb/net/uhso.c Mon May 17 23:50:46 2010 (r208229) @@ -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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005172350.o4HNoksn076127>