]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
wusb: make ep0_reinit available for modules
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Tue, 8 Apr 2008 20:24:46 +0000 (13:24 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:59 +0000 (21:16 -0700)
commitfc721f5194dc98c8108fb155a4fbae1cd746cf41
tree12170e62de774ef771d300074f25e63d30ca0a6e
parent6c529cdca914ba2a08a4bba54f11dedc2d3a7c17
wusb: make ep0_reinit available for modules

We need to be able to call ep0_reinit() [renamed to usb_ep0_reinit()]
from the WUSB security code. The reason is that when we authenticate
the device, it's address changes (from having bit 7 set to having it
cleared). Thus, we need to signal the USB stack to reinitialize EP0,
so the status with the previous address kept at the HCD layer is
cleared and properly reinitialized.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c
drivers/usb/core/hub.h