projects
/
openwrt
/
staging
/
zorun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a60a41
)
mtd: add missing breaks in a switch
author
rmilecki
<rmilecki@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 9 May 2016 07:51:50 +0000
(07:51 +0000)
committer
Rafał Miłecki
<zajec5@gmail.com>
Mon, 9 May 2016 16:53:06 +0000
(18:53 +0200)
On platforms supporting both: TRX and Seama calling "fixtrx" was
resulting in trying to fix Seama as well.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
package/system/mtd/src/mtd.c
patch
|
blob
|
history
diff --git
a/package/system/mtd/src/mtd.c
b/package/system/mtd/src/mtd.c
index 60ae7adcdfac56541deb6a460175679a91baaffa..c5115a794cc9e0d1a4f6ea6354b0a69834d5a050 100644
(file)
--- 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);