projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add max essid size to wlioctl.h
[openwrt.git]
/
package
/
openwrt
/
mtd.c
diff --git
a/package/openwrt/mtd.c
b/package/openwrt/mtd.c
index
163dcc4
..
13f4bf1
100644
(file)
--- a/
package/openwrt/mtd.c
+++ b/
package/openwrt/mtd.c
@@
-232,10
+232,6
@@
mtd_write(const char *trxfile, const char *mtd)
int
mtd_update(const char *trxfile, const char *mtd)
{
int
mtd_update(const char *trxfile, const char *mtd)
{
- if (mtd_unlock(mtd) != 0) {
- fprintf(stderr, "Could not unlock mtd device: %s\n", mtd);
- exit(1);
- }
if (mtd_erase("rootfs") != 0) {
fprintf(stderr, "Could not erase rootfs\n");
exit(1);
if (mtd_erase("rootfs") != 0) {
fprintf(stderr, "Could not erase rootfs\n");
exit(1);
This page took
0.020626 seconds
and
4
git commands to generate.