From 5fee08036be75fd3393940d6d914627c2d567722 Mon Sep 17 00:00:00 2001 From: erin_yueh Date: Sat, 26 Jan 2008 18:40:25 +0000 Subject: 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 --- src/gsmd/usock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gsmd') 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; -- cgit v1.2.3