openwrt/target/linux/generic/files/drivers/platform/mikrotik
Thibaut VARÈNE 2ea481193c 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")
2020-05-16 20:30:46 +02:00
..
Kconfig generic: routerboot sysfs platform driver 2020-05-08 15:17:17 +02:00
Makefile generic: routerboot sysfs platform driver 2020-05-08 15:17:17 +02:00
rb_hardconfig.c generic: platform/mikrotik: fix LZOR support 2020-05-16 20:30:46 +02:00
routerboot.c generic: routerboot sysfs platform driver 2020-05-08 15:17:17 +02:00
routerboot.h generic: routerboot sysfs platform driver 2020-05-08 15:17:17 +02:00