From 2a12322a80d7c6a41c447c4c6bbfc5810b498b0c Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 14 Feb 2012 16:00:15 +0100 Subject: modem-helpers: allow leading zeroes in CREG/CGREG responses --- src/tests/test-modem-helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/test-modem-helpers.c') diff --git a/src/tests/test-modem-helpers.c b/src/tests/test-modem-helpers.c index 707e4185..07878412 100644 --- a/src/tests/test-modem-helpers.c +++ b/src/tests/test-modem-helpers.c @@ -624,7 +624,7 @@ test_creg2_iridium_solicited (void *f, gpointer d) { TestData *data = (TestData *) d; const char *reply = "+CREG:002,001,\"18d8\",\"ffff\""; - const CregResult result = { 1, 0x18D8, 0xFFFF, -1 , 4, FALSE}; + const CregResult result = { 1, 0x18D8, 0xFFFF, MM_MODEM_ACCESS_TECHNOLOGY_UNKNOWN, 4, FALSE}; test_creg_match ("Iridium, CREG=2", TRUE, reply, data, &result); } -- cgit v1.2.3-70-g09d2