firmware-utils/trx: fix two bugs
authorGabor Juhos <juhosg@openwrt.org>
Sat, 30 Nov 2013 18:30:56 +0000 (18:30 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 30 Nov 2013 18:30:56 +0000 (18:30 +0000)
commitb61b447472b6a0a05feeb53f3953c3e8c93105c8
tree4e7ffe0394eb2894a3ef456cb65c1e8bd47077ca
parent2370126b9b5e139e7be753ffb5a44eda7b68e20d
firmware-utils/trx: fix two bugs

 - fix crc32 calculation if -F was enabled.

 - don't convert the crc32 to little endian twice.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
SVN-Revision: 38962
tools/firmware-utils/src/trx.c