altos: ao_fec_prepare using wrong value for input len
authorKeith Packard <keithp@keithp.com>
Wed, 27 Mar 2024 04:38:48 +0000 (21:38 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 27 Mar 2024 04:38:48 +0000 (21:38 -0700)
The FEC code always sends a multiple of four bytes, padding by two
bytes for even inputs and one byte for odd. But the preparation step
was using the wrong value for the length, so the output was getting
mangled.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found