From 0e1259ffe38a71dfc61ffcc631c73b07a321cc66 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Tue, 16 Aug 2016 16:15:03 +0000 Subject: [PATCH] RTL8169: Fixed total received byte counter. git-svn-id: svn://kolibrios.org@6480 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/ethernet/RTL8169.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ethernet/RTL8169.asm b/drivers/ethernet/RTL8169.asm index dbc82b8c6b..0447e39a40 100644 --- a/drivers/ethernet/RTL8169.asm +++ b/drivers/ethernet/RTL8169.asm @@ -1186,7 +1186,7 @@ int_handler: ;------------- ; Update stats - add dword [ebx + device.bytes_rx], eax + add dword [ebx + device.bytes_rx], ecx adc dword [ebx + device.bytes_rx + 4], 0 inc [ebx + device.packets_rx]