modem-helpers: allow leading zeroes in CREG/CGREG responses

This commit is contained in:
Aleksander Morgado
2012-02-14 16:00:15 +01:00
parent 5589df8946
commit 2a12322a80
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}