broadband-modem-qmi: fix compilation when using `--with-newest-qmi-comands'
This commit is contained in:
@@ -1939,9 +1939,9 @@ set_allowed_modes_context_step (SetAllowedModesContext *ctx)
|
|||||||
QmiMessageNasSetSystemSelectionPreferenceInput *input;
|
QmiMessageNasSetSystemSelectionPreferenceInput *input;
|
||||||
QmiNasRatModePreference pref;
|
QmiNasRatModePreference pref;
|
||||||
|
|
||||||
pref = modem_mode_to_qmi_rat_mode_preference (ctx->allowed,
|
pref = mm_modem_mode_to_qmi_rat_mode_preference (ctx->allowed,
|
||||||
mm_iface_modem_is_cdma (MM_IFACE_MODEM (ctx->self)),
|
mm_iface_modem_is_cdma (MM_IFACE_MODEM (ctx->self)),
|
||||||
mm_iface_modem_is_3gpp (MM_IFACE_MODEM (ctx->self)));
|
mm_iface_modem_is_3gpp (MM_IFACE_MODEM (ctx->self)));
|
||||||
if (!pref) {
|
if (!pref) {
|
||||||
gchar *str;
|
gchar *str;
|
||||||
|
|
||||||
@@ -1962,7 +1962,7 @@ set_allowed_modes_context_step (SetAllowedModesContext *ctx)
|
|||||||
if (mm_iface_modem_is_3gpp (MM_IFACE_MODEM (ctx->self))) {
|
if (mm_iface_modem_is_3gpp (MM_IFACE_MODEM (ctx->self))) {
|
||||||
QmiNasGsmWcdmaAcquisitionOrderPreference order;
|
QmiNasGsmWcdmaAcquisitionOrderPreference order;
|
||||||
|
|
||||||
order = modem_mode_to_qmi_gsm_wcdma_acquisition_order_preference (ctx->preferred);
|
order = mm_modem_mode_to_qmi_gsm_wcdma_acquisition_order_preference (ctx->preferred);
|
||||||
qmi_message_nas_set_system_selection_preference_input_set_gsm_wcdma_acquisition_order_preference (input, order, NULL);
|
qmi_message_nas_set_system_selection_preference_input_set_gsm_wcdma_acquisition_order_preference (input, order, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "mm-modem-helpers-qmi.h"
|
#include "mm-modem-helpers-qmi.h"
|
||||||
|
#include "mm-enums-types.h"
|
||||||
#include "mm-log.h"
|
#include "mm-log.h"
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
Reference in New Issue
Block a user