diff options
Diffstat (limited to 'drivers/usb/storage/usb.c')
-rw-r--r-- | drivers/usb/storage/usb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c index 31b3e1a61bbd..07b3e5406f48 100644 --- a/drivers/usb/storage/usb.c +++ b/drivers/usb/storage/usb.c | |||
@@ -976,6 +976,9 @@ int usb_stor_probe2(struct us_data *us) | |||
976 | if (us->fflags & US_FL_SINGLE_LUN) | 976 | if (us->fflags & US_FL_SINGLE_LUN) |
977 | us->max_lun = 0; | 977 | us->max_lun = 0; |
978 | 978 | ||
979 | if (!(us->fflags & US_FL_SCM_MULT_TARG)) | ||
980 | us_to_host(us)->max_id = 1; | ||
981 | |||
979 | /* Find the endpoints and calculate pipe values */ | 982 | /* Find the endpoints and calculate pipe values */ |
980 | result = get_pipes(us); | 983 | result = get_pipes(us); |
981 | if (result) | 984 | if (result) |