diff options
author | tick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-11-16 08:55:01 +0000 |
---|---|---|
committer | tick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-11-16 08:55:01 +0000 |
commit | 5e9fde8743d4d3d733303bef99e20000c0769148 (patch) | |
tree | 2f094302f9bbdc74a5e599c509215fa4c82aa7c0 /src/gsmd/vendor_tihtc.c | |
parent | cd687c0c2f3e9a77d344d8806d0072cc8fb8084a (diff) |
[gsmd] Adding timeout scheme, and merge gta01 wakeup scheme as machine plug-in with timeout. (L. Sean)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3430 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src/gsmd/vendor_tihtc.c')
-rw-r--r-- | src/gsmd/vendor_tihtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsmd/vendor_tihtc.c b/src/gsmd/vendor_tihtc.c index 98f6a12..7e51851 100644 --- a/src/gsmd/vendor_tihtc.c +++ b/src/gsmd/vendor_tihtc.c @@ -45,7 +45,7 @@ static int gsmd_test_atcb(struct gsmd_atcmd *cmd, void *ctx, char *resp) int gsmd_simplecmd(struct gsmd *gsmd, char *cmdtxt) { struct gsmd_atcmd *cmd; - cmd = atcmd_fill(cmdtxt, strlen(cmdtxt)+1, &gsmd_test_atcb, NULL, 0); + cmd = atcmd_fill(cmdtxt, strlen(cmdtxt)+1, &gsmd_test_atcb, NULL, 0, NULL); if (!cmd) return -ENOMEM; @@ -261,7 +261,7 @@ static int tihtc_initsettings(struct gsmd *g) rc |= gsmd_simplecmd(g, "AT%CUNS=0"); /* enable %CPI: call progress indication */ - cmd = atcmd_fill("AT%CPI=?", 9, &cpi_detect_cb, g, 0); + cmd = atcmd_fill("AT%CPI=?", 9, &cpi_detect_cb, g, 0, NULL); if (cmd) atcmd_submit(g, cmd); |