|
@@ -139,9 +139,7 @@ static int usb_stor_msg_common(struct us_data *us, int timeout)
|
|
|
|
|
|
/* fill the common fields in the URB */
|
|
/* fill the common fields in the URB */
|
|
us->current_urb->context = &urb_done;
|
|
us->current_urb->context = &urb_done;
|
|
- us->current_urb->actual_length = 0;
|
|
|
|
- us->current_urb->error_count = 0;
|
|
|
|
- us->current_urb->status = 0;
|
|
|
|
|
|
+ us->current_urb->transfer_flags = 0;
|
|
|
|
|
|
/* we assume that if transfer_buffer isn't us->iobuf then it
|
|
/* we assume that if transfer_buffer isn't us->iobuf then it
|
|
* hasn't been mapped for DMA. Yes, this is clunky, but it's
|
|
* hasn't been mapped for DMA. Yes, this is clunky, but it's
|