mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-04 22:09:57 +02:00
Removed sanity check for received slcan ASCII data
as this is done with ASCII comparision three lines above.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user