MFp4: //depot/projects/usb@156005

Add missing set frame data pointer call. The
	function call was missed when zero copy was
	introduced in UMASS.
	Reported by: WATANABE Kazuhiro.

Submitted by: Hans Petter Selasky
This commit is contained in:
Andrew Thompson 2009-01-13 19:05:20 +00:00
parent ea8f960c13
commit 922dd044db
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=187182

View File

@ -2414,6 +2414,9 @@ umass_t_cbi_data_read_callback(struct usb2_xfer *xfer)
}
xfer->timeout = sc->sc_transfer.data_timeout;
if (xfer->flags.ext_buffer) {
usb2_set_frame_data(xfer, sc->sc_transfer.data_ptr, 0);
}
xfer->frlengths[0] = max_bulk;
usb2_start_hardware(xfer);
return;