USB: Stall control endpoint when file storage class request wValue != 0
authorLuis Lloret <luislloret@gmail.com>
Thu, 26 Jul 2007 14:08:47 +0000 (10:08 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Aug 2007 21:27:44 +0000 (14:27 -0700)
commit88e45dbbababd29cd6c80a3e0b60a828676b3ba9
treed3d279011484f6f55d58dff7f0eed346024e8d15
parent468d13623b6c8d048abab71ed465fa8ad3bf8875
USB: Stall control endpoint when file storage class request wValue != 0

This patch makes the File Storage Gadget stall the control endpoint
when a MSC class request is made with wValue != 0.  This change makes
some MSC compliance test warnings disappear.

Signed-off-by: Luis Lloret <luislloret@gmail.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/file_storage.c