[PATCH] Fix ReportSupportedOpcode command to set the opcode

Ronnie Sahlberg <[email protected]>
Newsgroups org.kernel.vger.stgt
Message-ID <[email protected]>
List, Tomo

Please find a small patch to fix the REPORT SUPPORTED OPCODES command.
The first byte of the CDB USAGE FIELD should be the opcode number itself and not 0xFF.
There is also a test for this in libiscsi which is referenced from the commit message.
Commit message also references the relevant part of SPC which describes this byte.

regards
ronnie sahlberg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.