Merge pull request #1349 from iabdalkader/fix_inquiry_data

Set the standard inquiry response additional length field.
This commit is contained in:
Ha Thach 2022-02-26 00:22:55 +07:00 committed by GitHub
commit 13a4582ce2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -753,6 +753,7 @@ static int32_t proc_builtin_scsi(uint8_t lun, uint8_t const scsi_cmd[16], uint8_
.is_removable = 1,
.version = 2,
.response_data_format = 2,
.additional_length = sizeof(scsi_inquiry_resp_t) - 5,
};
// vendor_id, product_id, product_rev is space padded string