X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fusb%2Fcore%2Fhub.c;h=9b3f16bd12cb4508a51a63d936a527b02b152475;hb=36ec891895020f3bc9953c8b11d079c6d77d76bd;hp=d73ce262c3651446582b251c887b5f9af787f7ce;hpb=2be508d847392e431759e370d21cea9412848758;p=linux-2.6-omap-h63xx.git diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index d73ce262c36..9b3f16bd12c 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -3504,7 +3504,7 @@ int usb_reset_device(struct usb_device *udev) USB_INTERFACE_BOUND) rebind = 1; } - if (rebind) + if (ret == 0 && rebind) usb_rebind_intf(cintf); } }