diff options
Diffstat (limited to 'src/mm-iface-modem.c')
-rw-r--r-- | src/mm-iface-modem.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c index c2552a69..a2d4aa2e 100644 --- a/src/mm-iface-modem.c +++ b/src/mm-iface-modem.c @@ -1226,7 +1226,9 @@ access_technologies_check_ready (MMIfaceModem *self, if (g_error_matches (error, MM_CORE_ERROR, MM_CORE_ERROR_UNSUPPORTED)) { mm_dbg ("Polling to refresh access technologies is unsupported"); ctx->access_technology_polling_supported = FALSE; - } else + } + /* Ignore logging any message if the error is in 'in-progress' */ + else if (!g_error_matches (error, MM_CORE_ERROR, MM_CORE_ERROR_IN_PROGRESS)) mm_dbg ("Couldn't refresh access technologies: '%s'", error->message); g_error_free (error); } @@ -1254,7 +1256,9 @@ signal_quality_check_ready (MMIfaceModem *self, if (g_error_matches (error, MM_CORE_ERROR, MM_CORE_ERROR_UNSUPPORTED)) { mm_dbg ("Polling to refresh signal quality is unsupported"); ctx->signal_quality_polling_supported = FALSE; - } else + } + /* Ignore logging any message if the error is in 'in-progress' */ + else if (!g_error_matches (error, MM_CORE_ERROR, MM_CORE_ERROR_IN_PROGRESS)) mm_dbg ("Couldn't refresh signal quality: '%s'", error->message); g_error_free (error); } |