diff options
author | tick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-12-05 08:14:34 +0000 |
---|---|---|
committer | tick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-12-05 08:14:34 +0000 |
commit | d5eeb704107cae77e346a99f78f4623e3395b502 (patch) | |
tree | 034b8a989b26fc4ac588c3ba8b5460824f059f7f /src/gsmd/atcmd.c | |
parent | 7793a2546dc9da89e4ec25e836b705478425d395 (diff) |
gsmd: add "RING" timeout scheme, for those modem not have %CPI (like) supports (Andrzej Zaborowski)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3572 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src/gsmd/atcmd.c')
-rw-r--r-- | src/gsmd/atcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsmd/atcmd.c b/src/gsmd/atcmd.c index c1d9324..356b637 100644 --- a/src/gsmd/atcmd.c +++ b/src/gsmd/atcmd.c @@ -404,7 +404,7 @@ static int ml_parse(const char *buf, int len, void *ctx) /* FIXME: handling of those special commands in response to * ATD / ATA */ - if (!strncmp(buf, "NO CARRIER", 11) || + if (!strncmp(buf, "NO CARRIER", 10) || ((g->flags & GSMD_FLAG_V0) && buf[0] == '3')) { /* Part of Case 'D' */ goto final_cb; |