diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2016-11-19 22:42:50 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2016-11-20 17:17:48 +0100 |
commit | 0d3be662ce722011f000dfd4ddee2e8f45067980 (patch) | |
tree | 778bdb37f656409430ef6b4c009a36ae6f3cd177 /tools/firmware-utils/src/jcgimage.c | |
parent | 746e63201bef8fcbe8a333a8834976b2d7f3d82d (diff) | |
download | upstream-0d3be662ce722011f000dfd4ddee2e8f45067980.tar.gz upstream-0d3be662ce722011f000dfd4ddee2e8f45067980.tar.bz2 upstream-0d3be662ce722011f000dfd4ddee2e8f45067980.zip |
firmware-utils: tplink-safeloader: keep per-device info on trailing char
Recent refactoring introduced a regression. It ignored second argument
of make_support_list function which was originally true for C2600. The
new generic build_image function always passes false.
This patch allows specifying trailing char in a device specific info. It
also switches Archer C9 to the \0 char to make it compliant with vendor
images.
I verified generated images to be binary identical to the ones that
were created before whole refactoring.
Reported-by: Jo-Philipp Wich <jo@mein.io>
Fixes: fd924d2068f ("firmware-utils: tplink-safeloader: use one function for generating images")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'tools/firmware-utils/src/jcgimage.c')
0 files changed, 0 insertions, 0 deletions