aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-helpers-qmi.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-10-29 23:41:28 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-11-06 11:45:02 +0100
commit5265c0bd7c3bc28a0d77c836f691d0b0fca2fa0f (patch)
tree87b32cad0a12a3731d6469649cc3ee250fad4468 /src/mm-modem-helpers-qmi.c
parentd7288861a595db7f07b8ecf6bdc30d957b8b6843 (diff)
modem-helpers-qmi: don't check result when parsing UIM Get Card Status Output
Do it earlier, before running the parser.
Diffstat (limited to 'src/mm-modem-helpers-qmi.c')
-rw-r--r--src/mm-modem-helpers-qmi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mm-modem-helpers-qmi.c b/src/mm-modem-helpers-qmi.c
index af0926fb..584d0618 100644
--- a/src/mm-modem-helpers-qmi.c
+++ b/src/mm-modem-helpers-qmi.c
@@ -1818,11 +1818,6 @@ mm_qmi_uim_get_card_status_output_parse (gpointer log_
* purposes, we're going to consider as the SIM to use the one identified as
* 'primary GW' exclusively. We don't really support Dual Sim Dual Standby yet. */
- if (!qmi_message_uim_get_card_status_output_get_result (output, error)) {
- g_prefix_error (error, "QMI operation failed: ");
- return FALSE;
- }
-
qmi_message_uim_get_card_status_output_get_card_status (
output,
&index_gw_primary,