USB: g_file_storage: Set sense info Valid bit only when needed
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 26 Sep 2006 18:51:48 +0000 (14:51 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Sep 2006 22:36:47 +0000 (15:36 -0700)
Strictly speaking, the Valid bit in SCSI sense data is supposed to
be set only when the Information field contains a valid number.  This
patch (as793) turns off the Valid bit when the Information field
hasn't been set.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found