USB: Disable file_storage USB_CONFIG_ATT_WAKEUP
authorTony Lindgren <tony@atomide.com>
Tue, 29 May 2007 16:57:41 +0000 (09:57 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:34:29 +0000 (16:34 -0700)
Disable file_storage USB_CONFIG_ATT_WAKEUP as it requires
user interaction during Chapter 9 tests.

Signed-off-by: Tony Lindgren <tony@atomide.com
Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/file_storage.c

index 4639b629e60ca02af90a05756a8359342c86bda9..7e650d015585c7dba458ad88e4c5a923097f7878 100644 (file)
@@ -3963,8 +3963,7 @@ static int __init fsg_bind(struct usb_gadget *gadget)
 #endif
 
        if (gadget->is_otg) {
-               otg_desc.bmAttributes |= USB_OTG_HNP,
-               config_desc.bmAttributes |= USB_CONFIG_ATT_WAKEUP;
+               otg_desc.bmAttributes |= USB_OTG_HNP;
        }
 
        rc = -ENOMEM;