Skip to content

pibridge-serdev: return EIO instead of EBADMSG in case of incomplete data

For consistency return EIO instead of EBADMSG in case of incomplete data. By doing this EBADMSG is only returned if data has been received correctly but an error is indicated in the received datagram header or CRC.

Signed-off-by: Lino Sanfilippo l.sanfilippo@kunbus.com

Merge request reports