|
@@ -1509,7 +1509,7 @@ static int proc_do_submiturb(struct usb_dev_state *ps, struct usbdevfs_urb *uurb
|
|
u = (is_in ? URB_DIR_IN : URB_DIR_OUT);
|
|
u = (is_in ? URB_DIR_IN : URB_DIR_OUT);
|
|
if (uurb->flags & USBDEVFS_URB_ISO_ASAP)
|
|
if (uurb->flags & USBDEVFS_URB_ISO_ASAP)
|
|
u |= URB_ISO_ASAP;
|
|
u |= URB_ISO_ASAP;
|
|
- if (uurb->flags & USBDEVFS_URB_SHORT_NOT_OK)
|
|
|
|
|
|
+ if (uurb->flags & USBDEVFS_URB_SHORT_NOT_OK && is_in)
|
|
u |= URB_SHORT_NOT_OK;
|
|
u |= URB_SHORT_NOT_OK;
|
|
if (uurb->flags & USBDEVFS_URB_NO_FSBR)
|
|
if (uurb->flags & USBDEVFS_URB_NO_FSBR)
|
|
u |= URB_NO_FSBR;
|
|
u |= URB_NO_FSBR;
|