Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228223
b: refs/heads/master
c: 6efe04e
h: refs/heads/master
i:
  228221: e572199
  228219: 90b3deb
  228215: 39dec66
  228207: cf36fe0
  228191: 6aacaa5
  228159: 3581b4f
  228095: f7e67f0
v: v3
  • Loading branch information
Al Cho authored and Greg Kroah-Hartman committed Nov 29, 2010
1 parent f050078 commit 05d2601
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: e93192acff4eaf7024c2450d91f3de69258f1f12
refs/heads/master: 6efe04ee4109a9d3fc0d419667f54861628b0d45
9 changes: 7 additions & 2 deletions trunk/drivers/staging/keucr/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,13 @@ int ENE_SendScsiCmd(struct us_data *us, BYTE fDir, void *buf, int use_sg)
}

if (buf) {
unsigned int pipe = fDir ==
FDIR_READ ? us->recv_bulk_pipe : us->send_bulk_pipe;
unsigned int pipe = fDir;

if (fDir == FDIR_READ)
pipe = us->recv_bulk_pipe;
else
pipe = us->send_bulk_pipe;

/* Bulk */
if (use_sg)
result = usb_stor_bulk_srb(us, pipe, us->srb);
Expand Down

0 comments on commit 05d2601

Please sign in to comment.