bearer-qmi: use the new QmiWdRequestedSettings enum type

And bump libqmi to 1.31.5, which is the version introducing the rename.
This commit is contained in:
Aleksander Morgado
2022-04-27 11:53:13 +02:00
parent 17934810db
commit 9735437061
2 changed files with 9 additions and 9 deletions

View File

@@ -244,7 +244,7 @@ config_h.set('WITH_MBIM', enable_mbim)
# QMI support (enabled by default)
enable_qmi = get_option('qmi')
if enable_qmi
qmi_glib_dep = dependency('qmi-glib', version: '>= 1.31.4')
qmi_glib_dep = dependency('qmi-glib', version: '>= 1.31.5')
endif
config_h.set('WITH_QMI', enable_qmi)

View File

@@ -918,18 +918,18 @@ get_current_settings (GTask *task, QmiClientWds *client)
{
ConnectContext *ctx;
QmiMessageWdsGetCurrentSettingsInput *input;
QmiWdsGetCurrentSettingsRequestedSettings requested;
QmiWdRequestedSettings requested;
ctx = g_task_get_task_data (task);
g_assert (ctx->running_ipv4 || ctx->running_ipv6);
requested = QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_DNS_ADDRESS |
QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_GRANTED_QOS |
QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IP_ADDRESS |
QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_GATEWAY_INFO |
QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_MTU |
QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_DOMAIN_NAME_LIST |
QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IP_FAMILY;
requested = QMI_WDS_REQUESTED_SETTINGS_DNS_ADDRESS |
QMI_WDS_REQUESTED_SETTINGS_GRANTED_QOS |
QMI_WDS_REQUESTED_SETTINGS_IP_ADDRESS |
QMI_WDS_REQUESTED_SETTINGS_GATEWAY_INFO |
QMI_WDS_REQUESTED_SETTINGS_MTU |
QMI_WDS_REQUESTED_SETTINGS_DOMAIN_NAME_LIST |
QMI_WDS_REQUESTED_SETTINGS_IP_FAMILY;
input = qmi_message_wds_get_current_settings_input_new ();
qmi_message_wds_get_current_settings_input_set_requested_settings (input, requested, NULL);