Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22096
b: refs/heads/master
c: 09abfa8
h: refs/heads/master
v: v3
  • Loading branch information
Petko Manolov authored and Greg Kroah-Hartman committed Mar 20, 2006
1 parent 8aa973e commit 058ef0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bf58fbd5e86a43466e638407ff8a4eb7766a3b68
refs/heads/master: 09abfa8048de8e68eaa09eb07ac18f2d549dfe58
4 changes: 3 additions & 1 deletion trunk/drivers/usb/net/rtl8150.c
Original file line number Diff line number Diff line change
Expand Up @@ -880,14 +880,16 @@ static int rtl8150_probe(struct usb_interface *intf,
}
fill_skb_pool(dev);
set_ethernet_addr(dev);
info("%s: rtl8150 is detected", netdev->name);

usb_set_intfdata(intf, dev);
SET_NETDEV_DEV(netdev, &intf->dev);
if (register_netdev(netdev) != 0) {
err("couldn't register the device");
goto out2;
}

info("%s: rtl8150 is detected", netdev->name);

return 0;

out2:
Expand Down

0 comments on commit 058ef0b

Please sign in to comment.