mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-10 17:30:47 +00:00
Revert "LUN handling update"
This reverts commit 877c78ef7b3cbea852941b5c69abd771ea1a008d.
This commit is contained in:
parent
78bfd5bd14
commit
81f11b6dc2
@ -252,9 +252,6 @@ void SCSIDEV::Execute()
|
||||
catch (const lun_exception& e) {
|
||||
LOGINFO("%s Invalid LUN %d for ID %d", __PRETTY_FUNCTION__, e.getlun(), GetSCSIID());
|
||||
|
||||
// SCSI-2 p.104 4.4.3 Incorrect logical unit handling
|
||||
ctrl.buffer[0] = 0x7f;
|
||||
|
||||
Error(ERROR_CODES::sense_key::ILLEGAL_REQUEST, ERROR_CODES::asc::INVALID_LUN);
|
||||
return;
|
||||
}
|
||||
@ -666,9 +663,6 @@ void SCSIDEV::Receive()
|
||||
catch (const lun_exception& e) {
|
||||
LOGINFO("%s Invalid LUN %d for ID %d", __PRETTY_FUNCTION__, e.getlun(), GetSCSIID());
|
||||
|
||||
// SCSI-2 p.104 4.4.3 Incorrect logical unit handling
|
||||
ctrl.buffer[0] = 0x7f;
|
||||
|
||||
Error(ERROR_CODES::sense_key::ILLEGAL_REQUEST, ERROR_CODES::asc::INVALID_LUN);
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user