r3550 - trunk/src/target/gsm/src/gsmd

tick at sita.openmoko.org tick at sita.openmoko.org
Mon Dec 3 07:42:19 CET 2007


Author: tick
Date: 2007-12-03 07:42:17 +0100 (Mon, 03 Dec 2007)
New Revision: 3550

Modified:
   trunk/src/target/gsm/src/gsmd/atcmd.c
Log:
gsmd: Just avoid unnecessary remove-timer() function call when get multi-line (Sean Chiang)


Modified: trunk/src/target/gsm/src/gsmd/atcmd.c
===================================================================
--- trunk/src/target/gsm/src/gsmd/atcmd.c	2007-12-03 06:21:28 UTC (rev 3549)
+++ trunk/src/target/gsm/src/gsmd/atcmd.c	2007-12-03 06:42:17 UTC (rev 3550)
@@ -363,8 +363,6 @@
 			/* it might be a multiline response, so if there's a previous
 			   response, send out mlbuf and start afresh with an empty buffer */
 			if (g->mlbuf_len) {
-				/* remove timer if get respond before timeout */
-				remove_timer(cmd);
 				if (!cmd->cb) {
 					gsmd_log(GSMD_NOTICE, "command without cb!!!\n");
 				} else {





More information about the commitlog mailing list