[Bug 653] [PATCH] dfu-util - Some devices boot up in a DFU state instead of app state
bugzilla-daemon at bugzilla.openmoko.org
bugzilla-daemon at bugzilla.openmoko.org
Tue Jul 24 11:08:58 CEST 2007
http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=653
------- Additional Comments From nick at anywi.com 2007-07-24 11:08 -------
Eh, the complete patch being:
Index: src/main.c
===================================================================
--- src/main.c (revision 2384)
+++ src/main.c (working copy)
@@ -507,9 +507,7 @@
}
break;
default:
- fprintf(stderr, "IMPOSSIBLE: Runtime device already in
DFU state ?!?\n");
- exit(1);
- break;
+ goto dfustate;
}
/* now we need to re-scan the bus and locate our device */
@@ -540,6 +538,7 @@
* procedure */
}
+dfustate:
if (alt_name) {
int n;
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the buglog
mailing list