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:
4
devpnc.h
4
devpnc.h
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user