aboutsummaryrefslogtreecommitdiff
path: root/src/tests/test-modem-helpers.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-11-29 14:21:15 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:29 +0100
commitb3389ff2d437e7ebba541af53b32ef4f779872ac (patch)
tree7ffa41f1228da093a0ed88ad1d8f38e1a4ede2ea /src/tests/test-modem-helpers.c
parent5805a931e65759b86338b8fa315a3d10f8b732d4 (diff)
test-modem-helpers: fix C(G)REG parsing tests
Diffstat (limited to 'src/tests/test-modem-helpers.c')
-rw-r--r--src/tests/test-modem-helpers.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tests/test-modem-helpers.c b/src/tests/test-modem-helpers.c
index 8fbf1873..bcc929ab 100644
--- a/src/tests/test-modem-helpers.c
+++ b/src/tests/test-modem-helpers.c
@@ -478,9 +478,9 @@ test_creg_match (const char *test,
{
int i;
GMatchInfo *info = NULL;
- guint32 state = 0;
+ MMModem3gppRegistrationState state = MM_MODEM_3GPP_REGISTRATION_STATE_UNKNOWN;
+ MMModemAccessTech access_tech = MM_MODEM_ACCESS_TECH_UNKNOWN;
gulong lac = 0, ci = 0;
- gint access_tech = -1;
GError *error = NULL;
gboolean success, cgreg = FALSE;
guint regex_num = 0;
@@ -1323,4 +1323,3 @@ int main (int argc, char **argv)
return result;
}
-