diff options
author | Dan Williams <dcbw@redhat.com> | 2010-03-09 23:34:19 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-03-09 23:34:19 -0800 |
commit | 46ec3bdb47cbc0c40f39bb139783dedc5d3c9986 (patch) | |
tree | 48519aa5ccdffa9dd2ede1a0c42506e8826cc538 /src/mm-modem-helpers.h | |
parent | 658d3d572dc5313d815d9b8ab09c6b563fcbc8bf (diff) |
gsm: fix CREG/CGREG parsing with multiple responses
When a modem sends both CREG and CGREG in the same response packet,
the parser was failing to correctly distinguish which response
was being parsed, since the string passed to g_regex_match() is
the whole response including both CREG + CGREG.
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r-- | src/mm-modem-helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h index 57956766..d8c74d84 100644 --- a/src/mm-modem-helpers.h +++ b/src/mm-modem-helpers.h @@ -36,7 +36,7 @@ gboolean mm_gsm_parse_creg_response (GMatchInfo *info, gulong *out_lac, gulong *out_ci, gint *out_act, - gboolean *out_greg, + gboolean *out_cgreg, GError **error); #endif /* MM_MODEM_HELPERS_H */ |