aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libiscsi_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libiscsi_tcp.c')
-rw-r--r--drivers/scsi/libiscsi_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libiscsi_tcp.c b/drivers/scsi/libiscsi_tcp.c
index 5c92620292f..8eeb39ffa37 100644
--- a/drivers/scsi/libiscsi_tcp.c
+++ b/drivers/scsi/libiscsi_tcp.c
@@ -421,7 +421,7 @@ iscsi_tcp_data_recv_prep(struct iscsi_tcp_conn *tcp_conn)
421 struct iscsi_conn *conn = tcp_conn->iscsi_conn; 421 struct iscsi_conn *conn = tcp_conn->iscsi_conn;
422 struct hash_desc *rx_hash = NULL; 422 struct hash_desc *rx_hash = NULL;
423 423
424 if (conn->datadgst_en & 424 if (conn->datadgst_en &&
425 !(conn->session->tt->caps & CAP_DIGEST_OFFLOAD)) 425 !(conn->session->tt->caps & CAP_DIGEST_OFFLOAD))
426 rx_hash = tcp_conn->rx_hash; 426 rx_hash = tcp_conn->rx_hash;
427 427