diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-04-04 13:59:46 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-04-08 16:35:09 +0200 |
commit | f03fb06d8eed9678629ec31fd8611e6e70f341ae (patch) | |
tree | 2899a9bb1e29201e57c9a4fe8aa2f2f263977868 /src/mm-shared-qmi.c | |
parent | fc76e797d7eeb8c13677ecc4eb24f8096497ffc3 (diff) |
modem-helpers-qmi: port qmi interface parser to use object logging
Diffstat (limited to 'src/mm-shared-qmi.c')
-rw-r--r-- | src/mm-shared-qmi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mm-shared-qmi.c b/src/mm-shared-qmi.c index dbfab627..3faa3bd3 100644 --- a/src/mm-shared-qmi.c +++ b/src/mm-shared-qmi.c @@ -761,7 +761,7 @@ load_current_capabilities_get_capabilities_ready (QmiClientDms *client, for (i = 0; i < radio_interface_list->len; i++) ctx->capabilities_context.dms_capabilities |= - mm_modem_capability_from_qmi_radio_interface (g_array_index (radio_interface_list, QmiDmsRadioInterface, i)); + mm_modem_capability_from_qmi_radio_interface (g_array_index (radio_interface_list, QmiDmsRadioInterface, i), self); out: if (output) @@ -997,7 +997,7 @@ mm_shared_qmi_load_supported_capabilities (MMIfaceModem *self, /* Build mask with all supported capabilities */ mask = MM_MODEM_CAPABILITY_NONE; for (i = 0; i < priv->supported_radio_interfaces->len; i++) - mask |= mm_modem_capability_from_qmi_radio_interface (g_array_index (priv->supported_radio_interfaces, QmiDmsRadioInterface, i)); + mask |= mm_modem_capability_from_qmi_radio_interface (g_array_index (priv->supported_radio_interfaces, QmiDmsRadioInterface, i), self); supported_combinations = g_array_sized_new (FALSE, FALSE, sizeof (MMModemCapability), 3); @@ -1541,7 +1541,7 @@ mm_shared_qmi_load_supported_modes (MMIfaceModem *self, /* Build all, based on the supported radio interfaces */ mask_all = MM_MODEM_MODE_NONE; for (i = 0; i < priv->supported_radio_interfaces->len; i++) - mask_all |= mm_modem_mode_from_qmi_radio_interface (g_array_index (priv->supported_radio_interfaces, QmiDmsRadioInterface, i)); + mask_all |= mm_modem_mode_from_qmi_radio_interface (g_array_index (priv->supported_radio_interfaces, QmiDmsRadioInterface, i), self); mode.allowed = mask_all; mode.preferred = MM_MODEM_MODE_NONE; all = g_array_sized_new (FALSE, FALSE, sizeof (MMModemModeCombination), 1); |