summaryrefslogtreecommitdiff
path: root/src/gsmd
diff options
context:
space:
mode:
authorerin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2008-01-26 18:40:25 +0000
committererin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2008-01-26 18:40:25 +0000
commit5fee08036be75fd3393940d6d914627c2d567722 (patch)
tree73560c45891ea1293d4160b6893f972de7e76cac /src/gsmd
parentc0bd00541a3edba795361b504c896a388376d898 (diff)
gsmd: query network registration 2nd try (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3965 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src/gsmd')
-rw-r--r--src/gsmd/usock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsmd/usock.c b/src/gsmd/usock.c
index b6f42dd..0faef65 100644
--- a/src/gsmd/usock.c
+++ b/src/gsmd/usock.c
@@ -674,7 +674,7 @@ static int network_query_reg_cb(struct gsmd_atcmd *cmd, void *ctx, char *resp)
if (strncmp(resp, "+CREG: ", 7))
return -EINVAL;
- resp += 7;
+
er = extrsp_parse(gsmd_tallocs, resp);
if(!er)
return -ENOMEM;
personal git repositories of Harald Welte. Your mileage may vary