summaryrefslogtreecommitdiff
path: root/sys/dev/usb/serial
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2015-03-07 22:46:35 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2015-03-07 22:46:35 +0000
commitef826045f8ca7147100d4983ada2233f6f54e1c4 (patch)
tree24c524ec11b9cb6fbd87be92befe4c6448faec23 /sys/dev/usb/serial
parentfd95ce9e538deedbe76e7f98864d369338c03514 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/serial')
-rw-r--r--sys/dev/usb/serial/usb_serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/serial/usb_serial.c b/sys/dev/usb/serial/usb_serial.c
index 8ac15a07cc9a..bb641efe1fd5 100644
--- a/sys/dev/usb/serial/usb_serial.c
+++ b/sys/dev/usb/serial/usb_serial.c
@@ -1105,7 +1105,7 @@ ucom_cfg_status_change(struct usb_proc_msg *_task)
/* time pulse counting support */
switch(ucom_pps_mode) {
case 1:
- if ((sc->sc_pps.ppscap & PPS_CAPTUREBOTH) &&
+ if ((sc->sc_pps.ppsparam.mode & PPS_CAPTUREBOTH) &&
(msr_delta & SER_CTS)) {
pps_capture(&sc->sc_pps);
pps_event(&sc->sc_pps, (sc->sc_msr & SER_CTS) ?
@@ -1113,7 +1113,7 @@ ucom_cfg_status_change(struct usb_proc_msg *_task)
}
break;
case 2:
- if ((sc->sc_pps.ppscap & PPS_CAPTUREBOTH) &&
+ if ((sc->sc_pps.ppsparam.mode & PPS_CAPTUREBOTH) &&
(msr_delta & SER_DCD)) {
pps_capture(&sc->sc_pps);
pps_event(&sc->sc_pps, (sc->sc_msr & SER_DCD) ?