Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289412
b: refs/heads/master
c: 9eb4454
h: refs/heads/master
v: v3
  • Loading branch information
Sarah Sharp authored and Sebastian Andrzej Siewior committed Dec 22, 2011
1 parent 2a00ce1 commit dcc45b5
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: ea9da1c79eb9a28176550d0b8ba9166e6e5f42b8
refs/heads/master: 9eb445410db99e5f5f660e97a2165a0567bd909e
5 changes: 4 additions & 1 deletion trunk/drivers/usb/storage/uas.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,10 @@ static struct urb *uas_alloc_cmd_urb(struct uas_dev_info *devinfo, gfp_t gfp,
goto free;

iu->iu_id = IU_ID_COMMAND;
iu->tag = cpu_to_be16(stream_id);
if (blk_rq_tagged(cmnd->request))
iu->tag = cpu_to_be16(cmnd->request->tag + 1);
else
iu->tag = cpu_to_be16(1);
iu->prio_attr = UAS_SIMPLE_TAG;
iu->len = len;
int_to_scsilun(sdev->lun, &iu->lun);
Expand Down

0 comments on commit dcc45b5

Please sign in to comment.