USB: don't lose disconnections during suspend
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 1 Jul 2008 14:45:51 +0000 (10:45 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jul 2008 01:20:37 +0000 (18:20 -0700)
commit1236edf1c70107a0d31b3fba0b2a8783615d0d24
treede2ac86085d7040b1ad11642d4b26167bbf53c12
parentde85422b94ddb23c021126815ea49414047c13dc
USB: don't lose disconnections during suspend

This patch (as1111) fixes a bug in the hub driver.  When a hub
resumes, disconnections that occurred while the hub was suspended are
lost.

A completely different fix for this problem has already been accepted
for 2.6.27; however the problem still needs to be handled in 2.6.26.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Lukas Hejtmanek <xhejtman@ics.muni.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c