]> bbs.cooldavid.org Git - net-next-2.6.git/commit
USB: g_mass_storage: superfluous and missing packets fixed
authorMichal Nazarewicz <m.nazarewicz@samsung.com>
Wed, 27 Jan 2010 10:14:28 +0000 (11:14 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:54:50 +0000 (14:54 -0800)
commitb00ce11f00c9e86442de000e8bd3dd42f089c8e1
tree437cb34e5041d9fe97c62ce33a90ce011af92149
parent7f1ee82695654faf0a93fc0abf3b08eb354ef1f6
USB: g_mass_storage: superfluous and missing packets fixed

The mass storage function responded needlessly to a set
configuration packet.  This was a leftover from converting
gadget (file storage gadget) into a composite function.

Moreover, it has failed to respond to get max LUN request.
Adding request queueing made the function work better.

Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/f_mass_storage.c