diff options
author | David Brownell <david-b@pacbell.net> | 2006-06-30 11:34:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-07-13 01:03:23 +0200 |
commit | b972b68c396cfa9f8af7e0b314e22705251bc218 (patch) | |
tree | 5cd84d901fdeb4921593521197eee57ab066e2b9 /drivers/usb/serial/ipaq.c | |
parent | [PATCH] USB: add driver for non-composite Sierra Wireless devices (diff) | |
download | linux-b972b68c396cfa9f8af7e0b314e22705251bc218.tar.xz linux-b972b68c396cfa9f8af7e0b314e22705251bc218.zip |
[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>
Diffstat (limited to 'drivers/usb/serial/ipaq.c')
0 files changed, 0 insertions, 0 deletions