Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165011
b: refs/heads/master
c: 4143d17
h: refs/heads/master
i:
  165009: 71a6fae
  165007: 5014946
v: v3
  • Loading branch information
Steve Holland authored and Greg Kroah-Hartman committed Sep 23, 2009
1 parent 5626f6a commit 3f5120d
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 92d07e422df3cc5370d0d9b95a671abb69d50ef1
refs/heads/master: 4143d178e7b39c00d5277040c69a1522c4d98871
3 changes: 2 additions & 1 deletion trunk/drivers/usb/class/usbtmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,8 @@ static ssize_t usbtmc_read(struct file *filp, char __user *buf,
}

done += n_characters;
if (n_characters < USBTMC_SIZE_IOBUFFER)
/* Terminate if end-of-message bit recieved from device */
if ((buffer[8] & 0x01) && (actual >= n_characters + 12))
remaining = 0;
else
remaining -= n_characters;
Expand Down

0 comments on commit 3f5120d

Please sign in to comment.