aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/usbnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/usb/usbnet.c')
-rw-r--r--drivers/net/usb/usbnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c
index 86b690843362..37bf4f2c0a44 100644
--- a/drivers/net/usb/usbnet.c
+++ b/drivers/net/usb/usbnet.c
@@ -1213,7 +1213,7 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod)
1213 status = 0; 1213 status = 0;
1214 1214
1215 } 1215 }
1216 if (status == 0 && dev->status) 1216 if (status >= 0 && dev->status)
1217 status = init_status (dev, udev); 1217 status = init_status (dev, udev);
1218 if (status < 0) 1218 if (status < 0)
1219 goto out3; 1219 goto out3;