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)
commit68169d85a62837481a9cca5a1f75fe99cf23041a
treeb19bf7f17a4c44f1daa4a5892ac26ea33d1fa5c3
parent8898fa8bf3cd802d5088003c0dd3b89d7c67a30b
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