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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user