summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-06-06 13:14:57 -0700
committerMarcel Holtmann <marcel@holtmann.org>2010-06-06 13:14:57 -0700
commit5340901ad35d256f343a98db3f32a59eb9512397 (patch)
tree3ee556616d52c08edb94a603cb52f6192164adb2 /drivers/atmodem
parentfabf28cf022bfa9c1b16ca28fc4140135b7a6b5b (diff)
downloadofono-5340901ad35d256f343a98db3f32a59eb9512397.tar.bz2
Use unquoted strings for cell information of Novatel devices
Diffstat (limited to 'drivers/atmodem')
-rw-r--r--drivers/atmodem/atutil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/atmodem/atutil.c b/drivers/atmodem/atutil.c
index 5a409b80..e238f456 100644
--- a/drivers/atmodem/atutil.c
+++ b/drivers/atmodem/atutil.c
@@ -171,6 +171,7 @@ gboolean at_util_parse_reg_unsolicited(GAtResult *result, const char *prefix,
switch (vendor) {
case OFONO_VENDOR_HUAWEI:
+ case OFONO_VENDOR_NOVATEL:
if (g_at_result_iter_next_unquoted_string(&iter, &str) == TRUE)
l = strtol(str, NULL, 16);
else
@@ -235,6 +236,7 @@ gboolean at_util_parse_reg(GAtResult *result, const char *prefix,
switch (vendor) {
case OFONO_VENDOR_HUAWEI:
+ case OFONO_VENDOR_NOVATEL:
r = g_at_result_iter_next_unquoted_string(&iter, &str);
if (r == TRUE)