aboutsummaryrefslogtreecommitdiff
path: root/src/mm-generic-cdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-generic-cdma.c')
-rw-r--r--src/mm-generic-cdma.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mm-generic-cdma.c b/src/mm-generic-cdma.c
index 63c92e19..2f451704 100644
--- a/src/mm-generic-cdma.c
+++ b/src/mm-generic-cdma.c
@@ -1431,11 +1431,13 @@ reg_query_speri_done (MMAtSerialPort *port,
{
MMCallbackInfo *info = user_data;
gboolean roam = FALSE;
+ const char *p;
if (error)
goto done;
- if (!mm_cdma_parse_speri_response (response->str, &roam, NULL))
+ p = mm_strip_tag (response->str, "$SPERI:");
+ if (!p || !mm_cdma_parse_eri (p, &roam, NULL))
goto done;
/* Change the 1x and EVDO registration states to roaming if they were