summaryrefslogtreecommitdiff
path: root/sys/dev/usb/net/if_cdce.c
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2009-06-23 06:00:31 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2009-06-23 06:00:31 +0000
commit8f9e0ef947d29b8728c62a941c13e127120701fc (patch)
tree2aaa455089580714b5ee995a443139a376f9af49 /sys/dev/usb/net/if_cdce.c
parentc07af67dc8460b0734a1e942083d4e15077ca48f (diff)
Notes
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 532776ed3fa6..ec4cc95153c8 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)