Use unquoted strings for cell information of Novatel devices
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 6 Jun 2010 20:14:57 +0000 (13:14 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 6 Jun 2010 20:14:57 +0000 (13:14 -0700)
drivers/atmodem/atutil.c

index 5a409b8..e238f45 100644 (file)
@@ -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)