aboutsummaryrefslogtreecommitdiff
path: root/src/mm-sim-qmi.c
diff options
context:
space:
mode:
authorPavan Holla <pholla@chromium.org>2020-09-28 20:38:24 +0000
committerAleksander Morgado <aleksander@aleksander.es>2020-10-03 13:14:21 +0000
commitaa4dce2afc804d6ba4670392919dd12dbc62a162 (patch)
treeadb79f7f6a97451abd353072a3b278c9fc0d16c9 /src/mm-sim-qmi.c
parent72d8bae65b74000c7c6f24e5a6ccb303e3c67b30 (diff)
broadband-modem-qmi: Use UIM service for querying facility locks
DMS_UIM messages have been deprecated, and have been replaced by equivalent UIM messages. Use UIM_GET_CARD_STATUS while querying for facility locks if dms_uim messages were found to be deprecated.
Diffstat (limited to 'src/mm-sim-qmi.c')
-rw-r--r--src/mm-sim-qmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-sim-qmi.c b/src/mm-sim-qmi.c
index e0c7f2e5..52bf0792 100644
--- a/src/mm-sim-qmi.c
+++ b/src/mm-sim-qmi.c
@@ -144,7 +144,7 @@ uim_get_card_status_ready (QmiClientUim *client,
output = qmi_client_uim_get_card_status_finish (client, res, &error);
if (!output ||
!qmi_message_uim_get_card_status_output_get_result (output, &error) ||
- (!mm_qmi_uim_get_card_status_output_parse (self, output, NULL, NULL, NULL, NULL, NULL, &error) &&
+ (!mm_qmi_uim_get_card_status_output_parse (self, output, NULL, NULL, NULL, NULL, NULL, NULL, NULL, &error) &&
(g_error_matches (error, MM_MOBILE_EQUIPMENT_ERROR, MM_MOBILE_EQUIPMENT_ERROR_SIM_NOT_INSERTED) ||
g_error_matches (error, MM_CORE_ERROR, MM_CORE_ERROR_RETRY)))) {
mm_obj_dbg (self, "sim not yet considered ready... retrying");