huawei: sometimes reports BOOT with two LFs, not LF+CR

This commit is contained in:
Dan Williams
2009-11-24 13:04:21 -08:00
parent 3218b94376
commit 8bd10ebda2
+1
View File
@@ -220,6 +220,7 @@ supports_port (MMPluginBase *base,
add_regex (info->serial, "\\r\\n\\^MODE:(\\d),(\\d)\\r\\n", task);
add_regex (info->serial, "\\r\\n\\^DSFLOWRPT:(.+)\\r\\n", task);
add_regex (info->serial, "\\r\\n\\^BOOT:.+\\r\\n", task);
add_regex (info->serial, "\\r\\r\\^BOOT:.+\\r\\r", task);
info->id = g_timeout_add (5000, probe_secondary_timeout, task);