mirror of
https://github.com/erichelgeson/BlueSCSI.git
synced 2024-12-23 04:29:44 +00:00
Report error for READ_DVD_STRUCTURE
fixes issues with drivers getting confused about the optical image file
This commit is contained in:
parent
452930940c
commit
fb3a266c86
@ -1999,7 +1999,7 @@ static byte onReadDiscInformation(SCSI_DEVICE *dev, const byte *cdb)
|
|||||||
static byte onReadDVDStructure(SCSI_DEVICE *dev, const byte *cdb)
|
static byte onReadDVDStructure(SCSI_DEVICE *dev, const byte *cdb)
|
||||||
{
|
{
|
||||||
dev->m_senseKey = SCSI_SENSE_ILLEGAL_REQUEST;
|
dev->m_senseKey = SCSI_SENSE_ILLEGAL_REQUEST;
|
||||||
dev->m_additional_sense_code = SCSI_ASC_CANNOT_READ_MEDIUM_INCOMPATIBLE_FORMAT;
|
dev->m_additional_sense_code = SCSI_ASC_INVALID_OPERATION_CODE;
|
||||||
return SCSI_STATUS_CHECK_CONDITION;
|
return SCSI_STATUS_CHECK_CONDITION;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user