Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228024
b: refs/heads/master
c: d778086
h: refs/heads/master
v: v3
  • Loading branch information
Marek Belisko authored and Greg Kroah-Hartman committed Nov 10, 2010
1 parent 1098cb4 commit b337535
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 3b3291e868695194096591c4a5e3e302939e4c2b
refs/heads/master: d7780865164f2efe3ea2fa6f1ebdf61ecc1f2a4d
6 changes: 3 additions & 3 deletions trunk/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ static int ft1000_submit_rx_urb(struct ft1000_info *info)
{
DEBUG("network driver is closed, return\n");
//usb_kill_urb(pFt1000Dev->rx_urb); //mbelian
return STATUS_SUCCESS;
return -ENODEV;
}

usb_fill_bulk_urb(pFt1000Dev->rx_urb,
Expand All @@ -1321,12 +1321,12 @@ static int ft1000_submit_rx_urb(struct ft1000_info *info)
if((result = usb_submit_urb(pFt1000Dev->rx_urb, GFP_ATOMIC)))
{
printk("ft1000_submit_rx_urb: submitting rx_urb %d failed\n", result);
return STATUS_FAILURE;
return result;
}

//DEBUG("ft1000_submit_rx_urb exit: result=%d\n", result);

return STATUS_SUCCESS;
return 0;
}

//---------------------------------------------------------------------------
Expand Down

0 comments on commit b337535

Please sign in to comment.