summaryrefslogtreecommitdiff
path: root/dev/sinic.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dev/sinic.cc')
-rw-r--r--dev/sinic.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/dev/sinic.cc b/dev/sinic.cc
index 0f2fd20ea..0619a63dd 100644
--- a/dev/sinic.cc
+++ b/dev/sinic.cc
@@ -1085,13 +1085,11 @@ Device::recvPacket(PacketPtr packet)
if (!rxEnable) {
DPRINTF(Ethernet, "receive disabled...packet dropped\n");
- interface->recvDone();
return true;
}
if (rxFilter(packet)) {
DPRINTF(Ethernet, "packet filtered...dropped\n");
- interface->recvDone();
return true;
}
@@ -1104,7 +1102,6 @@ Device::recvPacket(PacketPtr packet)
return false;
}
- interface->recvDone();
devIntrPost(Regs::Intr_RxDone);
rxKick();
return true;