]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 23 Jun 2011 22:28:40 +0000 (15:28 -0700)
commite1b998c861a4e2fcabe3fcb8ef4e2e80e8a57e5c
tree3817dc0d4921148bc8b3176fa071f79f60eb1f4a
parent0024eac2fe1bda18b06f391d44803cda998facaf
USB: core: Tolerate protocol stall during hub and port status read

commit 3824c1ddaf744be44b170a335332b9d6afe79254 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c