From bd30073cb0a0c329045e64ea3b7e4268330d24cd Mon Sep 17 00:00:00 2001 From: Uwe Seimet <48174652+uweseimet@users.noreply.github.com> Date: Sat, 11 Nov 2023 09:56:52 +0100 Subject: [PATCH] Fix daynaport statistics read count calculation (#1336) --- cpp/devices/scsi_daynaport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/devices/scsi_daynaport.cpp b/cpp/devices/scsi_daynaport.cpp index a945bd17..0629ccae 100644 --- a/cpp/devices/scsi_daynaport.cpp +++ b/cpp/devices/scsi_daynaport.cpp @@ -155,7 +155,7 @@ int SCSIDaynaPort::Read(cdb_t cdb, vector& buf, uint64_t) return DAYNAPORT_READ_HEADER_SZ; } - byte_read_count += rx_packet_size * read_count; + byte_read_count += rx_packet_size; LogTrace("Packet Size " + to_string(rx_packet_size) + ", read count: " + to_string(read_count));