Fix write protected MSC. The bits were flipped.

This commit is contained in:
Scott Shawcroft
2019-02-20 15:12:36 -08:00
parent 29b49199be
commit c870efffc0
2 changed files with 14 additions and 1 deletions

View File

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