Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206061
b: refs/heads/master
c: 0ebdd46
h: refs/heads/master
i:
  206059: d05b3b5
v: v3
  • Loading branch information
Kulikov Vasiliy authored and Greg Kroah-Hartman committed Aug 3, 2010
1 parent fe62531 commit 85a0c7c
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 10f3f5b7f6d1faca62c746d1a4e85f7afba4d7d0
refs/heads/master: 0ebdd466f4682608a6b90ef018d36b57925f4d64
5 changes: 4 additions & 1 deletion trunk/drivers/staging/rtl8192su/r8192U_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -7380,6 +7380,8 @@ static int __devinit rtl8192_usb_probe(struct usb_interface *intf,
RT_TRACE(COMP_INIT, "Oops: i'm coming\n");

dev = alloc_ieee80211(sizeof(struct r8192_priv));
if (dev == NULL)
return -ENOMEM;

usb_set_intfdata(intf, dev);
SET_NETDEV_DEV(dev, &intf->dev);
Expand Down Expand Up @@ -7417,7 +7419,8 @@ static int __devinit rtl8192_usb_probe(struct usb_interface *intf,
netif_carrier_off(dev);
netif_stop_queue(dev);

register_netdev(dev);
if (register_netdev(dev))
goto fail;
RT_TRACE(COMP_INIT, "dev name=======> %s\n",dev->name);
rtl8192_proc_init_one(dev);

Expand Down

0 comments on commit 85a0c7c

Please sign in to comment.