summaryrefslogtreecommitdiff
path: root/tools/firmware-utils/src
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-04-07 15:14:40 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-04-07 15:14:40 +0000
commit47387c945a9bd5d560070fe181e0b69336ef8be0 (patch)
tree986f563e3c68081e13f5ec141d35953c99be4341 /tools/firmware-utils/src
parent5d5c8300b1cd250d739529dcfdf8d38abf468bce (diff)
downloadmtk-20170518-47387c945a9bd5d560070fe181e0b69336ef8be0.zip
mtk-20170518-47387c945a9bd5d560070fe181e0b69336ef8be0.tar.gz
mtk-20170518-47387c945a9bd5d560070fe181e0b69336ef8be0.tar.bz2
revert changeset 15081 seems to break Alice box devices
SVN-Revision: 15140
Diffstat (limited to 'tools/firmware-utils/src')
-rw-r--r--tools/firmware-utils/src/imagetag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/imagetag.c b/tools/firmware-utils/src/imagetag.c
index f5d0cdc..00dad29 100644
--- a/tools/firmware-utils/src/imagetag.c
+++ b/tools/firmware-utils/src/imagetag.c
@@ -191,7 +191,7 @@ int tagfile(const char *kernel, const char *rootfs, const char *bin,
fseek(binfile, rootfsoff - fwaddr, SEEK_SET);
while (rootfsfile && !feof(rootfsfile) && !ferror(rootfsfile)) {
read = fread(readbuf, sizeof(uint8_t), sizeof(readbuf), rootfsfile);
- crc = crc32(crc, readbuf, read);
+ //crc = crc32(crc, readbuf, read);
fwrite(readbuf, sizeof(uint8_t), read, binfile);
}