USB: remove short initial timeout for device descriptor fetch
commit06a2539978d97915d82c4d405528f8f92db0faaf
authorAlan Stern <stern@rowland.harvard.edu>
Sat, 19 Jul 2008 19:46:12 +0000 (19 22:46 +0300)
committerAdrian Bunk <bunk@kernel.org>
Sat, 19 Jul 2008 19:46:12 +0000 (19 22:46 +0300)
treee3bf0c8c817903f1ad02d93cbf92adbda37eb9a8
parent30cf9e8ec698e2ae4c0d9aaa918dbf35c1f611f6
USB: remove short initial timeout for device descriptor fetch

This patch (as905) removes a micro-optimization from the hub port
initialization code.  Previously we had been using a short timeout on
the first attempt the read the device descriptor; now we will use the
standard timeout length.

It's not clear that the short timeout ever provided any benefit.  And
now we know of one case where it actually hurts: The device can't meet
the short timeout and then it gets terminally confused.

This fixes Bugzilla #8444.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
drivers/usb/core/hub.c