diff options
author | Dan Williams <dcbw@redhat.com> | 2009-11-24 13:04:21 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-11-24 13:04:21 -0800 |
commit | 8bd10ebda2a29614319a14344294f495fede0baa (patch) | |
tree | ec864d7da4766d7994ec4414652b89731083900a | |
parent | 3218b94376de9598ef4530800584c30acf350810 (diff) |
huawei: sometimes reports BOOT with two LFs, not LF+CR
-rw-r--r-- | plugins/mm-plugin-huawei.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mm-plugin-huawei.c b/plugins/mm-plugin-huawei.c index b8d8424b..ad799f0a 100644 --- a/plugins/mm-plugin-huawei.c +++ b/plugins/mm-plugin-huawei.c @@ -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); |