Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61943
b: refs/heads/master
c: 9a5a3e9
h: refs/heads/master
i:
  61941: f5c3efe
  61939: 26e5767
  61935: eb4def7
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jul 20, 2007
1 parent fc7d403 commit b61eb7e
Show file tree
Hide file tree
Showing 2 changed files with 5 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: c35f68a05d0916e89ae2aab1a456f96fea9190cd
refs/heads/master: 9a5a3e95b49c93813476974abaa038c9d36bdd14
7 changes: 4 additions & 3 deletions trunk/drivers/usb/atm/speedtch.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,8 @@ static void speedtch_handle_int(struct urb *int_urb)
struct speedtch_instance_data *instance = int_urb->context;
struct usbatm_data *usbatm = instance->usbatm;
unsigned int count = int_urb->actual_length;
int ret = int_urb->status;
int status = int_urb->status;
int ret;

/* The magic interrupt for "up state" */
static const unsigned char up_int[6] = { 0xa1, 0x00, 0x01, 0x00, 0x00, 0x00 };
Expand All @@ -621,8 +622,8 @@ static void speedtch_handle_int(struct urb *int_urb)

atm_dbg(usbatm, "%s entered\n", __func__);

if (ret < 0) {
atm_dbg(usbatm, "%s: nonzero urb status %d!\n", __func__, ret);
if (status < 0) {
atm_dbg(usbatm, "%s: nonzero urb status %d!\n", __func__, status);
goto fail;
}

Expand Down

0 comments on commit b61eb7e

Please sign in to comment.