diff options
author | Dan Williams <dcbw@redhat.com> | 2012-08-29 09:12:16 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-08-29 09:12:16 -0500 |
commit | 02aa7580979752ca9f8af60ef187a066de87a17f (patch) | |
tree | 31f69a2d943396c02400e76730c122a42edb6502 | |
parent | d1be19d231a395339b1f452d1a30b73ea77ad528 (diff) |
huawei: add two more strings to detect secondary port
-rw-r--r-- | plugins/mm-plugin-huawei.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mm-plugin-huawei.c b/plugins/mm-plugin-huawei.c index 1a50e9fb..1dea3f40 100644 --- a/plugins/mm-plugin-huawei.c +++ b/plugins/mm-plugin-huawei.c @@ -268,6 +268,8 @@ supports_port (MMPluginBase *base, 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); + add_regex (info->serial, "\\r\\n\\^SIMST:.+\\r\\n", task); + add_regex (info->serial, "\\r\\n\\^SRVST:.+\\r\\n", task); info->id = g_timeout_add_seconds (7, probe_secondary_timeout, task); |