From a2322e64ae54370aa342bd52f4ea75d91f0f3f0f Mon Sep 17 00:00:00 2001 From: John Winans Date: Thu, 12 Aug 1993 16:18:41 +0000 Subject: [PATCH] off by 2 length error in receiver task's message length counter --- src/drv/drvPEPBitBus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drv/drvPEPBitBus.c b/src/drv/drvPEPBitBus.c index 7779cd9de..658b5e2ab 100644 --- a/src/drv/drvPEPBitBus.c +++ b/src/drv/drvPEPBitBus.c @@ -535,14 +535,14 @@ int link; switch (rxState) { case BBRX_HEAD: /* getting the head of a new message */ - if (rxTCount > 1) + if (rxTCount > 1) /* Toss the 2 PEP specific header bytes */ rxHead[rxTCount] = ch; if (bbDebug>21) printf("xvmeRxTask(%d): >%02.2X< (Header)\n", link, ch); if (++rxTCount == 7) { /* find the message this is a reply to */ - rxTCount += 2; /* adjust for the link field space */ + /* rxTCount += 2; PEP header bytes already messed up the count (jrw)*/ /* Lock the busy list */ FASTLOCK(&(pXvmeLink[link]->pbbLink->busyList.sem));