diff --git a/package/system/mtd/src/mtd.c b/package/system/mtd/src/mtd.c index 60ae7adcdf..c5115a794c 100644 --- a/package/system/mtd/src/mtd.c +++ b/package/system/mtd/src/mtd.c @@ -969,10 +969,12 @@ int main (int argc, char **argv) if (mtd_fixtrx) { mtd_fixtrx(device, offset); } + break; case CMD_RESETBC: if (mtd_resetbc) { mtd_resetbc(device); } + break; case CMD_FIXSEAMA: if (mtd_fixseama) mtd_fixseama(device, 0);