Revert "ISCSI fix broken send logic in iscsi_scsi_async_command"

This reverts commit 548bd22f51.

Revert for now. Will check it later today.
Causes 0130 and other tests to fail/hang when sending a solicited data-out
This commit is contained in:
Ronnie Sahlberg
2012-11-30 06:49:53 -08:00
parent 6f51d21111
commit 3ae7cec51d
2 changed files with 3 additions and 11 deletions

View File

@@ -19,8 +19,6 @@
#include <stdint.h>
#include <time.h>
/* We need this until we have an iscsi_task to get access to the iovector_out */
#include "scsi-lowlevel.h"
#if defined(WIN32)
#include <basetsd.h>
@@ -221,8 +219,6 @@ struct iscsi_pdu {
int written;
struct scsi_task *task; /* Reference to scsi_task to get iov with output data */
struct iscsi_data outdata; /* Header for PDU to send */
uint32_t out_offset; /* Offset into data-out iovector */
uint32_t out_len; /* Amount of data to sent */