diff options
Diffstat (limited to 'common/usb_storage.c')
-rw-r--r-- | common/usb_storage.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/usb_storage.c b/common/usb_storage.c index fd116be..605a1ce 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -1105,7 +1105,10 @@ int usb_stor_get_info(struct usb_device *dev,struct us_data *ss,block_dev_desc_t unsigned long *capacity,*blksz; ccb *pccb=&usb_ccb; - ss->transport_reset(ss); + /* For some mysterious reason the 256MB flash disk of Ours Technology, Inc + * doesn't survive this reset */ + if (dev->descriptor.idVendor != 0xea0 || dev->descriptor.idProduct != 0x6828) + ss->transport_reset(ss); pccb->pdata=usb_stor_buf; dev_desc->target=dev->devnum; |