diff options
-rw-r--r-- | plugins/sierra/mm-broadband-modem-sierra.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/sierra/mm-broadband-modem-sierra.c b/plugins/sierra/mm-broadband-modem-sierra.c index 5c894f64..301f41eb 100644 --- a/plugins/sierra/mm-broadband-modem-sierra.c +++ b/plugins/sierra/mm-broadband-modem-sierra.c @@ -623,7 +623,11 @@ selrat_query_ready (MMBaseModem *self, MM_CORE_ERROR_FAILED, "Failed to parse the allowed mode response: '%s'", response); - } + } else if (!error) + error = g_error_new (MM_CORE_ERROR, + MM_CORE_ERROR_FAILED, + "Could not parse allowed mode response: Response didn't match: '%s'", + response); if (match_info) g_match_info_free (match_info); |