From 2a698b038d47fa286626fde8e6db4a7d187c1dc4 Mon Sep 17 00:00:00 2001 From: Jim Date: Fri, 19 Aug 2011 13:37:02 -0400 Subject: [PATCH] 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. --- devpnc.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/devpnc.h b/devpnc.h index f80b21d..6d79537 100644 --- a/devpnc.h +++ b/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; }