usb: gadget: f_mass_storage: Fix Bulk-only RESET handling
authorRoger Quadros <roger.quadros@nokia.com>
Tue, 5 Apr 2011 15:36:38 +0000 (18:36 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Apr 2011 23:40:59 +0000 (16:40 -0700)
commit73ee4da994e7b97bd8241e39099cf3dd94675d79
tree3883124d341dc96ea32aa5d097319cf3a32b2a2d
parent654d121ad8c84e3442efee20b2a0703edb18c212
usb: gadget: f_mass_storage: Fix Bulk-only RESET handling

The ep0 request tag was not recorded thus resulting in phase
problems while sending status/response in handle_execption() handler.
This was resulting in MSC compliance test failures with USBCV tool.

With this patch, the Bulk-Only Mass storage RESET request is
handled correctly and the MSC compliance tests pass.

Signed-off-by: Roger Quadros <roger.quadros@nokia.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/f_mass_storage.c