Set SPC-4 confirmance for LUN NOT SUPPORTED INQUIRY

Reported-By: dimec lunec <dimec.lunec@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6801 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2016-02-17 02:08:34 +00:00
parent 2ce7057d54
commit ab193f3835

View File

@@ -1950,6 +1950,7 @@ go:
memset(buf, 0, len);
buf[0] = 0x7F; /* Peripheral qualifier 011b, Peripheral device type 1Fh */
buf[2] = 6; /* Device complies to SPC-4 */
buf[4] = len - 4;
TRACE_BUFFER("INQUIRY for not supported LUN set", buf, len);