diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-06-23 06:00:31 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-06-23 06:00:31 +0000 |
commit | 30004d4d8eeee79720b442ace5e76c0082cf4e52 (patch) | |
tree | 2aaa455089580714b5ee995a443139a376f9af49 /sys/compat/ndis | |
parent | 0761ade8acc27aa44d26cc29ae23abc8a6ffd5f3 (diff) | |
download | FreeBSD-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/compat/ndis')
-rw-r--r-- | sys/compat/ndis/subr_usbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/ndis/subr_usbd.c b/sys/compat/ndis/subr_usbd.c index f42cd06..1f317e8 100644 --- a/sys/compat/ndis/subr_usbd.c +++ b/sys/compat/ndis/subr_usbd.c @@ -981,7 +981,7 @@ usbd_ctrl_callback(struct usb_xfer *xfer, usb_error_t error) if (vcreq->uvc_trans_flags & USBD_TRANSFER_DIRECTION_IN) { pc = usbd_xfer_get_frame(xfer, 1); - len = usbd_xfer_get_framelen(xfer, 1); + len = usbd_xfer_frame_len(xfer, 1); usbd_copy_out(pc, 0, vcreq->uvc_trans_buf, len); nx->nx_urbactlen += len; } |