From ab193f3835e4e60769ac77df59e7e118b580e2b7 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 17 Feb 2016 02:08:34 +0000 Subject: [PATCH] Set SPC-4 confirmance for LUN NOT SUPPORTED INQUIRY Reported-By: dimec lunec git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6801 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_lib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index e5d66b458..c5b4250be 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -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);