From c8be6085a416b201b66098ebc22ce0331393902f Mon Sep 17 00:00:00 2001 From: Oliver Hartkopp Date: Wed, 21 Jan 2009 07:38:18 +0000 Subject: [PATCH] Removed sanity check for received slcan ASCII data as this is done with ASCII comparision three lines above. --- slcanpty.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/slcanpty.c b/slcanpty.c index 13c4b7f..e80b725 100644 --- a/slcanpty.c +++ b/slcanpty.c @@ -170,9 +170,6 @@ int main(int argc, char **argv) rxf.can_dlc = rxbuf[rxp] & 0x0F; /* get can_dlc */ - if (rxf.can_dlc > 8) - continue; - rxbuf[rxp] = 0; /* terminate can_id string */ rxf.can_id = strtoul(rxbuf+1, NULL, 16);