Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228344
b: refs/heads/master
c: 1c46282
h: refs/heads/master
v: v3
  • Loading branch information
Marek Belisko authored and Greg Kroah-Hartman committed Dec 10, 2010
1 parent fc7edd6 commit 0158407
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 04c6620117488c0ccc612da5f2bcbcde025e9301
refs/heads/master: 1c46282421c8b31b37323f7b007c4562ce17578c
9 changes: 7 additions & 2 deletions trunk/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,17 @@ static int ft1000_probe(struct usb_interface *interface,
if (ret)
goto err_thread;

pft1000info->NetDevRegDone = 1;
ret = ft1000InitProc(ft1000dev->net);
if (ret)
goto err_proc;

ft1000InitProc(ft1000dev->net);
pft1000info->NetDevRegDone = 1;

return 0;

err_proc:
unregister_netdev(ft1000dev->net);
free_netdev(ft1000dev->net);
err_thread:
kthread_stop(pft1000info->pPollThread);
err_load:
Expand Down

0 comments on commit 0158407

Please sign in to comment.