USB: core: Tolerate protocol stall during hub and port status read
authorLibor Pechacek <lpechacek@suse.cz>
Fri, 20 May 2011 12:53:25 +0000 (14:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 6 Jun 2011 23:02:32 +0000 (16:02 -0700)
commit3824c1ddaf744be44b170a335332b9d6afe79254
tree8e1bef3d7d37276a951d13f7129c823ccdfad09f
parent9303961f5b8c8da0b65b897fb6521d2a123ec8a8
USB: core: Tolerate protocol stall during hub and port status read

Protocol stall should not be fatal while reading port or hub status as it is
transient state.  Currently hub EP0 STALL during port status read results in
failed device enumeration.  This has been observed with ST-Ericsson (formerly
Philips) USB 2.0 Hub (04cc:1521) after connecting keyboard.

Signed-off-by: Libor Pechacek <lpechacek@suse.cz>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c