USB: fix a bug in the scatter-gather library
commited1db3ada189c9af592c4d2971b22b482b68aafe
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 27 Oct 2009 19:26:50 +0000 (27 15:26 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 19:55:18 +0000 (11 11:55 -0800)
treeaa7d98261986c4558a7c38b9047ea9e02342b227
parent253e05724f9230910344357b1142ad8642ff9f5a
USB: fix a bug in the scatter-gather library

This patch (as1298) fixes a bug in the new scatter-gather URB
facility.  If an URB uses a scatterlist then it should not have the
URB_NO_INTERRUPT flag set; otherwise the system won't be notified when
the transfer completes.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: David Vrabel <david.vrabel@csr.com>
CC: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/message.c