ath9k: fix an aggregation hang issue that happens when a hardware reset is issued
[openwrt.git] / package / mtd / src / jffs2.c
index 49a7d56..512f222 100644 (file)
@@ -247,7 +247,7 @@ int mtd_replace_jffs2(const char *mtd, int fd, int ofs, const char *filename)
 #ifdef target_brcm
        trx_fixup(outfd, mtd);
 #endif
-       return 0;
+       return (mtdofs - ofs);
 }
 
 void mtd_parse_jffs2data(const char *buf, const char *dir)
This page took 0.02138 seconds and 4 git commands to generate.