Thibaut VARÈNE 85e04e9f46 generic: platform/mikrotik: fix LZOR support
31e99fe3da which introduced this code was unfortunately untested.
This commit fixes a number of issues and works around the fact that in
this particular scheme, the LZO payload may be padded at the end which
will trigger a harmless lzo decompression error.
This commit also disambiguates the debug printks.

Tested-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Fixes: 31e99fe3da ("generic: platform/mikrotik: support LZOR encoding")
(cherry picked from commit 2ea481193c1654c9cb42aa0331cdbc4570783e26)
2020-05-16 20:32:20 +02:00
..
2020-04-16 13:23:52 +02:00
2019-05-11 17:15:41 +02:00
2020-02-24 14:20:14 +01:00
2020-02-24 14:20:14 +01:00
2020-05-04 21:05:21 +02:00
2020-05-04 21:05:21 +02:00
2019-11-29 10:00:35 +01:00
2019-11-29 10:00:35 +01:00
2019-10-08 12:45:13 +02:00
2020-03-09 20:44:27 +01:00
2020-03-09 20:44:27 +01:00
2019-12-24 15:29:32 +01:00
2020-05-04 21:05:21 +02:00
2020-04-16 13:23:52 +02:00
2020-02-24 14:20:14 +01:00
2020-05-04 21:05:21 +02:00
2019-10-08 12:45:13 +02:00
2020-04-16 13:23:52 +02:00
2020-05-04 21:05:21 +02:00
2020-02-24 14:20:14 +01:00
2020-05-04 21:05:21 +02:00
2018-12-10 11:48:44 +01:00
2020-02-04 18:11:26 +01:00
2020-04-18 00:18:13 +02:00