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:
@@ -244,7 +244,7 @@ config_h.set('WITH_MBIM', enable_mbim)
|
|||||||
# QMI support (enabled by default)
|
# QMI support (enabled by default)
|
||||||
enable_qmi = get_option('qmi')
|
enable_qmi = get_option('qmi')
|
||||||
if enable_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
|
endif
|
||||||
config_h.set('WITH_QMI', enable_qmi)
|
config_h.set('WITH_QMI', enable_qmi)
|
||||||
|
|
||||||
|
@@ -918,18 +918,18 @@ get_current_settings (GTask *task, QmiClientWds *client)
|
|||||||
{
|
{
|
||||||
ConnectContext *ctx;
|
ConnectContext *ctx;
|
||||||
QmiMessageWdsGetCurrentSettingsInput *input;
|
QmiMessageWdsGetCurrentSettingsInput *input;
|
||||||
QmiWdsGetCurrentSettingsRequestedSettings requested;
|
QmiWdRequestedSettings requested;
|
||||||
|
|
||||||
ctx = g_task_get_task_data (task);
|
ctx = g_task_get_task_data (task);
|
||||||
g_assert (ctx->running_ipv4 || ctx->running_ipv6);
|
g_assert (ctx->running_ipv4 || ctx->running_ipv6);
|
||||||
|
|
||||||
requested = QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_DNS_ADDRESS |
|
requested = QMI_WDS_REQUESTED_SETTINGS_DNS_ADDRESS |
|
||||||
QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_GRANTED_QOS |
|
QMI_WDS_REQUESTED_SETTINGS_GRANTED_QOS |
|
||||||
QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IP_ADDRESS |
|
QMI_WDS_REQUESTED_SETTINGS_IP_ADDRESS |
|
||||||
QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_GATEWAY_INFO |
|
QMI_WDS_REQUESTED_SETTINGS_GATEWAY_INFO |
|
||||||
QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_MTU |
|
QMI_WDS_REQUESTED_SETTINGS_MTU |
|
||||||
QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_DOMAIN_NAME_LIST |
|
QMI_WDS_REQUESTED_SETTINGS_DOMAIN_NAME_LIST |
|
||||||
QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IP_FAMILY;
|
QMI_WDS_REQUESTED_SETTINGS_IP_FAMILY;
|
||||||
|
|
||||||
input = qmi_message_wds_get_current_settings_input_new ();
|
input = qmi_message_wds_get_current_settings_input_new ();
|
||||||
qmi_message_wds_get_current_settings_input_set_requested_settings (input, requested, NULL);
|
qmi_message_wds_get_current_settings_input_set_requested_settings (input, requested, NULL);
|
||||||
|
Reference in New Issue
Block a user