David Brownell b972b68c39 [PATCH] USB: ehci: fix bogus alteration of a local variable
In a rare and all-but-unused path, the EHCI driver could reuse a variable
in a way that'd make trouble.  Specifically, if the first root hub port
gets an overcurrent event (rare) during a remote wakeup scenario (all but
unused in today's Linux, except for folk working with suspend-to-RAM and
similar sleep states), that would look like a fatal error which would shut
down the controller.  Fix by not reusing that variable.

Spotted by Per Hallsmark <saxofon@musiker.nu>
Fixes http://bugzilla.kernel.org/show_bug.cgi?id=6661

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-07-12 16:03:23 -07:00
..
2006-03-20 14:49:55 -08:00
2005-04-16 15:20:36 -07:00
2006-01-04 13:48:29 -08:00
2005-10-28 16:47:40 -07:00
2005-10-28 16:47:40 -07:00
2005-10-28 16:47:40 -07:00
2005-04-16 15:20:36 -07:00
2006-06-21 15:04:16 -07:00