USB: g_printer required set interface request
authorJonas Andersson <jonas@microbit.se>
Mon, 21 Mar 2011 13:54:09 +0000 (14:54 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 30 Apr 2011 00:24:31 +0000 (17:24 -0700)
commita0c25c20502e0c4a467f5d7e27b2a599cfe57abe
tree810508984bc623c897fe1947b98e900290d44d7c
parenta8779ee94e6114bf071ef3ca6c8c9cb270d179ed
USB: g_printer required set interface request

g_printer reqiured "set interface" request from host. Not all hosts send
this request.  This patch enable the interface when it get "set
configuration" request from host.

Signed-off-by: Jonas Andersson <jonas@microbit.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/printer.c