diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-06-06 13:14:57 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-06-06 13:14:57 -0700 |
commit | 5340901ad35d256f343a98db3f32a59eb9512397 (patch) | |
tree | 3ee556616d52c08edb94a603cb52f6192164adb2 /drivers/atmodem | |
parent | fabf28cf022bfa9c1b16ca28fc4140135b7a6b5b (diff) | |
download | ofono-5340901ad35d256f343a98db3f32a59eb9512397.tar.bz2 |
Use unquoted strings for cell information of Novatel devices
Diffstat (limited to 'drivers/atmodem')
-rw-r--r-- | drivers/atmodem/atutil.c | 2 |
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) |