Add POWER_CONDITION modepage marshalling/unmarshalling
This commit is contained in:
@@ -42,7 +42,7 @@ test_modesense6_residuals(void)
|
||||
}
|
||||
task = iscsi_modesense6_sync(iscsic, tgt_lun, 0,
|
||||
SCSI_MODESENSE_PC_CURRENT,
|
||||
SCSI_MODESENSE_PAGECODE_RETURN_ALL_PAGES,
|
||||
SCSI_MODEPAGE_RETURN_ALL_PAGES,
|
||||
0, 4);
|
||||
if (task == NULL || task->status != SCSI_STATUS_GOOD) {
|
||||
logging(LOG_VERBOSE, "[FAILED] Failed to send MODE_SENSE6 "
|
||||
@@ -82,7 +82,7 @@ test_modesense6_residuals(void)
|
||||
}
|
||||
task = iscsi_modesense6_sync(iscsic, tgt_lun, 0,
|
||||
SCSI_MODESENSE_PC_CURRENT,
|
||||
SCSI_MODESENSE_PAGECODE_RETURN_ALL_PAGES,
|
||||
SCSI_MODEPAGE_RETURN_ALL_PAGES,
|
||||
0, 255);
|
||||
if (task == NULL || task->status != SCSI_STATUS_GOOD) {
|
||||
logging(LOG_VERBOSE, "[FAILED] Failed to send MODE_SENSE6 "
|
||||
|
||||
Reference in New Issue
Block a user