diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c index e083f537113627557fc997a20d763b9ecc87be97..e8465fecf43a7f928dd13355c4e8155d5b6046da 100644 --- a/drivers/net/usb/smsc95xx.c +++ b/drivers/net/usb/smsc95xx.c @@ -1304,7 +1304,7 @@ static int smsc95xx_resume(struct usb_interface *intf) check_warn_return(ret, "Error writing PM_CTRL"); } - return usbnet_resume(intf); + ret = usbnet_resume(intf); check_warn_return(ret, "usbnet_resume error"); return 0;