USB Core: hub.c: prevent re-enumeration on HNP
authorVikram Pandita <vikram.pandita@ti.com>
Sat, 26 May 2007 04:31:07 +0000 (21:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:29:51 +0000 (16:29 -0700)
commitffcdc18d64d73ecce49c182f969977ae88ff4384
tree66282f72235c24191f672aff96cc7305767d2aef
parentb29dbbd811b006deea85275e37fc1a09e8983d48
USB Core: hub.c: prevent re-enumeration on HNP

Patch is to prevent the OTG host of doing 3 times enumeration of
device when the Host suspends for HNP.  The error code used in
this case is ENOTSUPP.

Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c