diff options
author | Dan Williams <dcbw@redhat.com> | 2012-08-23 21:14:38 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-08-23 21:23:37 -0500 |
commit | e0242b4db7fb1556e79f6829d22edf411f9f6ba4 (patch) | |
tree | 0e3f061c647532109df07455ade385cd7675e662 | |
parent | 21e66dfa1774ac2ee037ac8b6e8bb4d71a6f7931 (diff) |
sierra: fix detection of APP1 port
The APP1 port (which has a limited AT parser) doesn't prefix
its replies with <CR><LF> like nice modems do, and that means
it runs afoul of the echo removal bits of the AT serial port
code. We need to parse the whole string even though it's not
prefixed properly to find the APP1 string in the response.
-rw-r--r-- | plugins/mm-plugin-sierra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mm-plugin-sierra.c b/plugins/mm-plugin-sierra.c index 408074b7..0495e417 100644 --- a/plugins/mm-plugin-sierra.c +++ b/plugins/mm-plugin-sierra.c @@ -122,7 +122,7 @@ supports_port (MMPluginBase *base, } /* Otherwise kick off a probe */ - if (mm_plugin_base_probe_port (base, task, 100000, NULL)) + if (mm_plugin_base_probe_port_leave_echo (base, task, 100000, NULL)) return MM_PLUGIN_SUPPORTS_PORT_IN_PROGRESS; return MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED; |