diff options
-rw-r--r-- | drivers/scsi/iscsi_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c index baacf836083e..13411ca3d648 100644 --- a/drivers/scsi/iscsi_tcp.c +++ b/drivers/scsi/iscsi_tcp.c | |||
@@ -557,7 +557,7 @@ iscsi_hdr_recv(struct iscsi_conn *conn) | |||
557 | conn->data_copied = 0; | 557 | conn->data_copied = 0; |
558 | 558 | ||
559 | /* read AHS */ | 559 | /* read AHS */ |
560 | conn->in.ahslen = hdr->hlength*(4*sizeof(__u16)); | 560 | conn->in.ahslen = hdr->hlength * 4; |
561 | conn->in.offset += conn->in.ahslen; | 561 | conn->in.offset += conn->in.ahslen; |
562 | conn->in.copy -= conn->in.ahslen; | 562 | conn->in.copy -= conn->in.ahslen; |
563 | if (conn->in.copy < 0) { | 563 | if (conn->in.copy < 0) { |