Ticket #9589: usb_disk_retry.patch
File usb_disk_retry.patch, 605 bytes (added by , 11 years ago) |
---|
-
src/add-ons/kernel/drivers/disk/usb/usb_disk/usb_disk.cpp
diff --git a/src/add-ons/kernel/drivers/disk/usb/usb_disk/usb_disk.cpp b/src/add-ons/kernel/drivers/disk/usb/usb_disk/usb_disk.cpp index ddc02b4..fe82cc95 100644
a b usb_disk_request_sense(device_lun *lun) 487 487 parameter.additional_sense_code_qualifier); 488 488 lun->media_present = false; 489 489 usb_disk_reset_capacity(lun); 490 return B_ DEV_NO_MEDIA;490 return B_ERROR; 491 491 492 492 case SCSI_SENSE_KEY_DATA_PROTECT: 493 493 TRACE_ALWAYS("request_sense: write protected\n");