diff options
-rw-r--r-- | plugins/ublox/mm-modem-helpers-ublox.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/ublox/mm-modem-helpers-ublox.c b/plugins/ublox/mm-modem-helpers-ublox.c index 8608960b..df6b6a26 100644 --- a/plugins/ublox/mm-modem-helpers-ublox.c +++ b/plugins/ublox/mm-modem-helpers-ublox.c @@ -1578,6 +1578,10 @@ mm_ublox_parse_uact_response (const gchar *response, g_array_unref (nums); } + if (!bands) + g_set_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED, + "No known band selection values matched in +UACT response: '%s'", response); + return bands; } |