Device: Fix bug in DmaPort::recvRetry. The interface attempts to send the same packet again.

It doesn't cause a problem currently, however with a different Memory Object it could cause
problems
This commit is contained in:
Clint Smullen 2008-08-26 02:37:26 -04:00
parent 3d5fe0c372
commit 4aa017affc

View file

@ -190,9 +190,9 @@ void
DmaPort::recvRetry()
{
assert(transmitList.size());
PacketPtr pkt = transmitList.front();
bool result = true;
do {
PacketPtr pkt = transmitList.front();
DPRINTF(DMA, "Retry on %s addr %#x\n",
pkt->cmdString(), pkt->getAddr());
result = sendTiming(pkt);