summaryrefslogtreecommitdiff
path: root/package/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'package/mtd')
-rw-r--r--package/mtd/src/mtd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mtd/src/mtd.c b/package/mtd/src/mtd.c
index b180aec..3e84fd6 100644
--- a/package/mtd/src/mtd.c
+++ b/package/mtd/src/mtd.c
@@ -138,7 +138,7 @@ int mtd_write_buffer(int fd, const char *buf, int offset, int length)
static int
image_check(int imagefd, const char *mtd)
{
- int ret = 0;
+ int ret = 1;
#ifdef target_brcm
ret = trx_check(imagefd, mtd, buf, &buflen);
#endif