Bufflen can be changed after scst_get_cdb_info(), so for bufflen = 0 data_direction...
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 3 Mar 2009 17:04:12 +0000 (17:04 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 3 Mar 2009 17:04:12 +0000 (17:04 +0000)
commit3ae29fceabc731c9ed112b673c5500cd4268205d
tree8b19ecd340663e98ac47dda41630ea81822f4ce6
parent95b437a941687dba242f0cb081c0210f5261c8c7
Bufflen can be changed after scst_get_cdb_info(), so for bufflen = 0 data_direction should be changed to SCST_DATA_NONE not in scst_get_cdb_info(), but in the end of parsing.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@683 d57e44dd-8a1f-0410-8b47-8ef2f437770f
scst/src/scst_lib.c
scst/src/scst_targ.c