summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-12-03 06:42:17 +0000
committertick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-12-03 06:42:17 +0000
commit10cda54ece58b5de918cefb332df0143bdedec82 (patch)
tree398aff8e0e74cbf062d5bd07ef62c6a5615a8d41 /src
parenteb949e4a8cede8ef050d63f1f00175e339491881 (diff)
gsmd: Just avoid unnecessary remove-timer() function call when get multi-line (Sean Chiang)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3550 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src')
-rw-r--r--src/gsmd/atcmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gsmd/atcmd.c b/src/gsmd/atcmd.c
index 371dbb5..c1d9324 100644
--- a/src/gsmd/atcmd.c
+++ b/src/gsmd/atcmd.c
@@ -363,8 +363,6 @@ static int ml_parse(const char *buf, int len, void *ctx)
/* 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 {
personal git repositories of Harald Welte. Your mileage may vary