aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2010-05-17 23:50:46 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2010-05-17 23:50:46 +0000
commit7ed226965179a79fc8efc30931d206e69cb7849a (patch)
treefdf54ca9d01252c5137e992ee6cfb99d971853da
parent298c330015561fac9709daed67f747a2fe4ef019 (diff)
Notes
-rw-r--r--sys/dev/usb/net/uhso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/net/uhso.c b/sys/dev/usb/net/uhso.c
index a810ec48c5dd..60add5bc7c60 100644
--- a/sys/dev/usb/net/uhso.c
+++ b/sys/dev/usb/net/uhso.c
@@ -1339,7 +1339,7 @@ uhso_ucom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff)
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 *ucom, uint8_t onoff)
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);
}