Signed-off-by: Oliver Neukum <oneu...@suse.de>
CC: stable@vger.kernel.org
for kernel 3.15
---
drivers/usb/core/devio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
|
a
|
b
|
static int proc_do_submiturb(struct usb_
|
| 1509 | 1509 | u = (is_in ? URB_DIR_IN : URB_DIR_OUT); |
| 1510 | 1510 | if (uurb->flags & USBDEVFS_URB_ISO_ASAP) |
| 1511 | 1511 | u |= URB_ISO_ASAP; |
| 1512 | | if (uurb->flags & USBDEVFS_URB_SHORT_NOT_OK) |
| | 1512 | if (uurb->flags & USBDEVFS_URB_SHORT_NOT_OK && is_in) |
| 1513 | 1513 | u |= URB_SHORT_NOT_OK; |
| 1514 | 1514 | if (uurb->flags & USBDEVFS_URB_NO_FSBR) |
| 1515 | 1515 | u |= URB_NO_FSBR; |