summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/net/if_cdce.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-06-23 06:00:31 +0000
committerthompsa <thompsa@FreeBSD.org>2009-06-23 06:00:31 +0000
commit30004d4d8eeee79720b442ace5e76c0082cf4e52 (patch)
tree2aaa455089580714b5ee995a443139a376f9af49 /sys/dev/usb/net/if_cdce.c
parent0761ade8acc27aa44d26cc29ae23abc8a6ffd5f3 (diff)
downloadFreeBSD-src-30004d4d8eeee79720b442ace5e76c0082cf4e52.zip
FreeBSD-src-30004d4d8eeee79720b442ace5e76c0082cf4e52.tar.gz
Fix a typeo in the frame len function to unbreak the build, make it shorter
while I am here.
Diffstat (limited to 'sys/dev/usb/net/if_cdce.c')
-rw-r--r--sys/dev/usb/net/if_cdce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/net/if_cdce.c b/sys/dev/usb/net/if_cdce.c
index 532776e..ec4cc95 100644
--- a/sys/dev/usb/net/if_cdce.c
+++ b/sys/dev/usb/net/if_cdce.c
@@ -641,7 +641,7 @@ cdce_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error)
m = sc->sc_rx_buf[x];
sc->sc_rx_buf[x] = NULL;
- len = usbd_xfer_get_frame_len(xfer, x);
+ len = usbd_xfer_frame_len(xfer, x);
/* Strip off CRC added by Zaurus, if any */
if ((sc->sc_flags & CDCE_FLAG_ZAURUS) && len >= 14)
OpenPOWER on IntegriCloud