Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354577
b: refs/heads/master
c: f4cc183
h: refs/heads/master
i:
  354575: ac9e4ed
v: v3
  • Loading branch information
Ming Lei authored and Greg Kroah-Hartman committed Jan 21, 2013
1 parent 964ae8e commit 3b08fcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fde26380315d7d57816efc143b7924c82dba764d
refs/heads/master: f4cc1834bdc47d0574ceffb728f256f67e1190ef
3 changes: 3 additions & 0 deletions trunk/drivers/usb/storage/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,9 @@ int usb_stor_probe2(struct us_data *us)
if (us->fflags & US_FL_SINGLE_LUN)
us->max_lun = 0;

if (!(us->fflags & US_FL_SCM_MULT_TARG))
us_to_host(us)->max_id = 1;

/* Find the endpoints and calculate pipe values */
result = get_pipes(us);
if (result)
Expand Down

0 comments on commit 3b08fcd

Please sign in to comment.