projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35509cb
)
mtd: add missing breaks in a switch
author
Rafał Miłecki
<zajec5@gmail.com>
Mon, 9 May 2016 07:55:18 +0000
(07:55 +0000)
committer
Rafał Miłecki
<zajec5@gmail.com>
Mon, 9 May 2016 07:55:18 +0000
(07:55 +0000)
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>
Backport of r49301
SVN-Revision: 49303
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 6650068a2a71b9bf60e99861bccbe046719a5b4e..c39b103fd01c4a18683f58487b378dc4028f7ec2 100644
(file)
--- a/
package/system/mtd/src/mtd.c
+++ b/
package/system/mtd/src/mtd.c
@@
-900,10
+900,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);