Skip to content

Commit

Permalink
[Decoders.SCSI] Fix SCSI SENSE not being decoded if VALID bit set. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
claunia committed Oct 26, 2023
1 parent fd04357 commit 868dbf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCSI/Sense.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public static SenseType GetType(byte[] sense)
{
var decoded = new DecodedSense();

switch(sense[0])
switch(sense[0] & 0x7F)
{
case 0x70:
case 0x71:
Expand Down

0 comments on commit 868dbf3

Please sign in to comment.