mscd: send scsi status before invoke read10/write10/scsi complete callback

This commit is contained in:
hathach
2019-02-22 01:31:13 +07:00
parent 6645be65f5
commit f2d76a39eb
2 changed files with 9 additions and 6 deletions

View File

@@ -284,8 +284,10 @@ typedef struct ATTR_PACKED
{
uint8_t data_len;
uint8_t medium_type;
uint8_t reserved : 7;
bool write_protected : 1;
uint8_t block_descriptor_len;
} scsi_mode_sense6_resp_t;