core: grab probed QCDM ports for plugins where they are useful

This commit is contained in:
Dan Williams
2010-03-23 01:36:00 -07:00
parent c36aacee0a
commit bcfb75d88d
16 changed files with 133 additions and 76 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
* GNU General Public License for more details:
*
* Copyright (C) 2008 - 2009 Novell, Inc.
* Copyright (C) 2009 Red Hat, Inc.
* Copyright (C) 2009 - 2010 Red Hat, Inc.
*/
#define _GNU_SOURCE /* for strcasestr */
@@ -575,7 +575,7 @@ real_handle_probe_response (MMPluginBase *self,
ignore_error = TRUE;
if (error && !ignore_error) {
if (error->code == MM_SERIAL_RESPONSE_TIMEOUT) {
if (g_error_matches (error, MM_SERIAL_ERROR, MM_SERIAL_RESPONSE_TIMEOUT)) {
/* Try GCAP again */
if (task_priv->probe_state < PROBE_STATE_GCAP_TRY3) {
task_priv->probe_state++;