1
0
mirror of https://github.com/prirun/p50em.git synced 2026-02-02 22:41:05 +00:00

Don't NAK xmit packets. prmnt1 seems to indicate that a packet no one

accepts is NAK'd, but if we do that, it keeps getting sent over and
over.  If we're not connected, retries don't make sense.
This commit is contained in:
Jim
2011-08-19 13:37:02 -04:00
parent 6b8abd3a8b
commit 2a698b038d

View File

@@ -678,7 +678,7 @@ unsigned short pncxmit(t_dma *iob) {
short i;
unsigned short xstat;
xstat = PNCXSNAK;
xstat = 0;
if ((*iob).toid == 255) {
for (i=1; i<=MAXNODEID; i++)
if (i != myid)
@@ -686,8 +686,6 @@ unsigned short pncxmit(t_dma *iob) {
} else {
xstat |= pncxmit1((*iob).toid, iob);
}
if (xstat != PNCXSNAK) /* if anyone modified it, don't NAK */
xstat &= ~PNCXSNAK;
return xstat;
}