Merge of the trunk's r3121:

Fix minor issue when generating INQUIRY responses for not existing LUNs.



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@3122 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2010-12-17 14:40:16 +00:00
parent 3ce2f9446c
commit efe33340f2

View File

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